2020-02-08 08:40:21 +00:00
|
|
|
ESCAPE CODES
|
|
|
|
============
|
|
|
|
|
|
|
|
note: these will all omit the leading ESC[
|
|
|
|
https://vt100.net/docs/vt100-ug/chapter3.html
|
|
|
|
|
|
|
|
H reposition cursor @ 1,1
|
|
|
|
${row};${col}H reposition cursor @ ${row},${col}
|
|
|
|
J erase-in-display
|
2020-02-08 10:22:31 +00:00
|
|
|
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
|
2020-02-08 08:40:21 +00:00
|
|
|
h set mode
|
|
|
|
l reset mode
|
|
|
|
modes:
|
|
|
|
?25 hide cursor feature
|
2020-02-08 10:22:31 +00:00
|
|
|
~ special keys?
|
|
|
|
5: pgup
|
|
|
|
6: pgdn
|
2020-02-11 01:01:21 +00:00
|
|
|
m coloring
|
|
|
|
7m: inverted
|
|
|
|
default: normal
|