Abbreviated name | Name | Coding |
CUP | Cursor Position | ESC [ Pn ; Pm H |
HVP | Horizontal and Vertical Position | ESC [ Pn ; Pm f |
CUU | Cuosor Up | ESC [ Pn A |
CUD | Cursor Down | ESC [ Pn B |
CUF | Cursor Forward | ESC [ Pn C |
CUB | Cursor Backward | ESC [ Pn D |
ED | Erase in Display | |
Eliminates from a cursor position to the last line right end | ESC [ J | |
ESC [ 0 J | ||
Eliminates from a head line left end to a cursor position | ESC [ 1 J | |
Clear all screen | ESC [ 2 J | |
EL | Erase in Line | |
Eliminates from a cursor position to a line right end | ESC [ K | |
ESC [ 0 K | ||
Eliminates from a line left end to a cursor position | ESC [ 1 K | |
Eliminates from the left end of a cursor line to a right end | ESC [ 2 K | |
DL | Delete Line | ESC [ Pn M |
IL | Insert Line | ESC [ Pn L |
RM | Reset Mode (Cursor display) |
ESC [ > 5 l |
SM | Set Mode (Cursor un-displaying) |
ESC [ > 5 h |
SGR | Select Graphic Rendition | ESC [ Ps ; ... ; Ps m |
EPs=0 :Attribute release | ||
EPs=7 :Reverse |