| Sequence |
Description |
| <ESC>D |
Move cursor down to next line |
| <ESC>E |
Move cursor to first column and
down one line |
| <ESC>M |
Move cursor up one line |
| <ESC>7 |
Save cursor position, attributes
and colors |
| <ESC>8 |
Restore saved cursor position,
attributes and colors |
| <ESC>[nA |
Move cursor up n lines |
| <ESC>[nB |
Move cursor down n
lines |
| <ESC>[nC |
Move cursor forward n
spaces |
| <ESC>[nD |
Move cursor backward n
spaces |
| <ESC>[nE |
Move cursor to beginning of line,
down n lines |
| <ESC>[nF |
Move cursor to beginning of line,
up n lines |
| <ESC>[xG |
Move cursor to column
x |
|
<ESC>[y;xH |
Move cursor to line y,
column x |
| <ESC>[nI |
Move cursor forward n
tabstops |
| <ESC>[nZ |
Move cursor backwards n
tabstops |
| <ESC>[na |
Move cursor forward n
spaces |
| <ESC>[yd |
Move cursor to row y |
| <ESC>[ne |
Move cursor down n
lines |
|
<ESC>[y;xf |
Move cursor to line y,
column x |
| <ESC>[s |
Save cursor position |
| <ESC>[u |
Return to saved cursor
position |
| <ESC>[x` |
Move cursor to column
x |
| Sequence |
Description |
| <ESC>[=nA |
Set the overscan color
(ignored) |
|
<ESC>[=n1;n2B |
Set bell sound (parameters
ignored) |
|
<ESC>[=n1;n2C |
Set the caret size |
| <ESC>[=nD |
Set background color intensity
n
Value
|
Description
|
| 0 |
Decrease background color intensity |
| 1 |
Increase background color intensity |
|
| <ESC>[=nE |
Set blink vs. bold attribute
(ignored) |
| <ESC>[=nF |
Set normal foreground color |
| <ESC>[=nG |
Set normal background color |
| <ESC>[=nH |
Set reverse foreground color |
| <ESC>[=nI |
Set reverse background color |
| <ESC>[=nJ |
Set graphics foreground color |
| <ESC>[=nK |
Set graphics background color
n
Value
|
Description
|
| 0 |
Black |
| 1 |
Blue |
| 2 |
Green |
| 3 |
Cyan |
| 4 |
Red |
| 5 |
Magenta |
| 6 |
Brown |
| 7 |
White |
| 8 |
Gray |
| 9 |
Light blue |
| 10 |
Light green |
| 11 |
Light cyan |
| 12 |
Light red |
| 13 |
Light magenta |
| 14 |
Yellow |
| 15 |
High White |
|