|
24 | 24 | //| """Display a character stream with a TileGrid
|
25 | 25 | //|
|
26 | 26 | //| ASCII control:
|
| 27 | +//| |
27 | 28 | //| * ``\\r`` - Move cursor to column 1
|
28 | 29 | //| * ``\\n`` - Move cursor down a row
|
29 | 30 | //| * ``\\b`` - Move cursor left one if possible
|
30 | 31 | //|
|
31 | 32 | //| OSC control sequences:
|
| 33 | +//| |
32 | 34 | //| * ``ESC ] 0; <s> ESC \\`` - Set title bar to <s>
|
33 | 35 | //| * ``ESC ] ####; <s> ESC \\`` - Ignored
|
34 | 36 | //|
|
35 | 37 | //| VT100 control sequences:
|
| 38 | +//| |
36 | 39 | //| * ``ESC [ K`` - Clear the remainder of the line
|
37 | 40 | //| * ``ESC [ 0 K`` - Clear the remainder of the line
|
38 | 41 | //| * ``ESC [ 1 K`` - Clear start of the line to cursor
|
|
50 | 53 | //| * ``ESC [ ## ; ## ; ## m`` - Set the terminal display attributes.
|
51 | 54 | //|
|
52 | 55 | //| Supported Display attributes:
|
53 |
| -//| 0 - Reset all attributes |
54 |
| -//| Foreground Colors Background Colors |
55 |
| -//| 30 - Black 40 - Black |
56 |
| -//| 31 - Red 41 - Red |
57 |
| -//| 32 - Green 42 - Green |
58 |
| -//| 33 - Yellow 43 - Yellow |
59 |
| -//| 34 - Blue 44 - Blue |
60 |
| -//| 35 - Magenta 45 - Magenta |
61 |
| -//| 36 - Cyan 46 - Cyan |
62 |
| -//| 37 - White 47 - White |
| 56 | +//| |
| 57 | +//| +--------+------------+------------+ |
| 58 | +//| | Color | Foreground | Background | |
| 59 | +//| +========+============+============+ |
| 60 | +//| | Reset | 0 | 0 | |
| 61 | +//| +--------+------------+------------+ |
| 62 | +//| | Black | 30 | 40 | |
| 63 | +//| +--------+------------+------------+ |
| 64 | +//| | Red | 31 | 41 | |
| 65 | +//| +--------+------------+------------+ |
| 66 | +//| | Green | 32 | 42 | |
| 67 | +//| +--------+------------+------------+ |
| 68 | +//| | Yellow | 33 | 43 | |
| 69 | +//| +--------+------------+------------+ |
| 70 | +//| | Blue | 34 | 44 | |
| 71 | +//| +--------+------------+------------+ |
| 72 | +//| | Magenta| 35 | 45 | |
| 73 | +//| +--------+------------+------------+ |
| 74 | +//| | Cyan | 36 | 46 | |
| 75 | +//| +--------+------------+------------+ |
| 76 | +//| | White | 37 | 47 | |
| 77 | +//| +--------+------------+------------+ |
63 | 78 | //| """
|
64 | 79 | //|
|
65 | 80 | //| def __init__(
|
|
0 commit comments