2020-01-18 00:33:55 +01:00
|
|
|
Console
|
2019-12-15 13:47:13 +01:00
|
|
|
|
2020-01-18 00:33:55 +01:00
|
|
|
This library provides a simple console library, offering a limited support for ANSI control sequences.
|
2019-12-15 13:47:13 +01:00
|
|
|
|
|
|
|
Here is a list of the supported sequences and their meaning:
|
|
|
|
|
2020-01-18 00:33:55 +01:00
|
|
|
ESC[0m Reset all text style
|
|
|
|
ESC[1m Bold font (*)
|
|
|
|
ESC[3m Italic font
|
|
|
|
ESC[4m Underline font
|
2019-12-15 13:47:13 +01:00
|
|
|
|
2020-01-18 00:33:55 +01:00
|
|
|
ESC]0;NewnameBEL Set the window title to "Newname" (**)
|
2019-12-15 13:47:13 +01:00
|
|
|
|
|
|
|
NOTES:
|
2020-01-09 22:43:46 +01:00
|
|
|
(*) Obtained with bold + condense style together, so that the character grid
|
|
|
|
remains regular (this way, the width of bold characters remains the same as
|
|
|
|
regular ones).
|
2020-01-18 00:33:55 +01:00
|
|
|
(**) BEL is ASCII character 7.
|