escape-codes
Extracted from the ke notes.
note: these will all omit the leading ESC[, see
https://vt100.net/docs/vt100-ug/chapter3.html.
H reposition cursor @ 1,1
${row};${col}H reposition cursor @ ${row},${col}
J erase-in-display
0: cursor to end of screen
1: up to cursor
2: whole screen
K erase-in-line
0: (default) to the right of the cursor
1: to the left of the cursor
2: whole line
c Reset to initial state.
h set mode
l reset mode
modes:
?25 hide cursor feature
~ special keys?
5: pgup
6: pgdn
m coloring
0m: clear formatting
1m: BOLD
7m: inverted
31m: red (normal)
32m: green (normal)
33m: yellow (normal)
34m: blue (normal)
91m: red (bright)
92m: green (bright)
93m: yellow (bright)
94m: blue (bright)
default: normal