2020-01-17 23:33:55 +00:00
|
|
|
Console
|
2019-12-15 12:47:13 +00:00
|
|
|
|
2020-01-17 23:33:55 +00:00
|
|
|
This library provides a simple console library, offering a limited support for ANSI control sequences.
|
2019-12-15 12:47:13 +00:00
|
|
|
|
|
|
|
Here is a list of the supported sequences and their meaning:
|
|
|
|
|
2020-01-17 23:33:55 +00:00
|
|
|
ESC[0m Reset all text style
|
|
|
|
ESC[1m Bold font (*)
|
|
|
|
ESC[3m Italic font
|
|
|
|
ESC[4m Underline font
|
2019-12-15 12:47:13 +00:00
|
|
|
|
2020-01-17 23:33:55 +00:00
|
|
|
ESC]0;NewnameBEL Set the window title to "Newname" (**)
|
2019-12-15 12:47:13 +00:00
|
|
|
|
|
|
|
NOTES:
|
2020-01-09 21:43:46 +00: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-17 23:33:55 +00:00
|
|
|
(**) BEL is ASCII character 7.
|