\a | BEL | warning bell |
\b | BS | back space |
\t | HT | horizontal tab |
\n | LF | line feed |
\r | CR | carriage return |
\e[PnSPs | DECSWBV | Set warning bell volume |
\e[6n | DSR | cursor position report, yields a reply \e[Pl;PcR |
\e[?6n | DEXCPR | extended cursor position report, yields a reply \e[Pl;PcR |
\eD | IND | Index |
\eE | Next line | |
\eH | HTS | Horizontal Tab Set |
\eM | RI | Reverse Index |
\e[0F | JFY | disable justification and wordwrap |
\e[1F | JFY | enable wordwrap |
\e[PnA | CUU | Cursor Up |
\e[PnB | CUD | Cursor Down |
\e[PnC | CUF | Cursor Forward |
\e[PnD | CUB | Cursor Backward |
\e[Pnj | HPB | Horizontal Position Backward |
\e[Pnk | VPB | Vertical Position Backward |
\e[PnE | CNL | Cursor Next Line |
\e[PnF | CPL | Cursor Preceding Line |
\e[PnG | CHA | Cursor Horizontal Absolute |
\e[Pl;PcH | CUP | Cursor Position |
\e[PnI | CHT | Cursor Horizontal Forward Tabulation |
\e[PsJ | ED | Erase in Display |
\e[PsK | EL | Erase in Line |
\e[PnL | IL | Insert Line |
\e[PnM | DL | Delete Line |
\e[PnP | DCH | Delete Character |
\e[PnS | SU | Scroll Up |
\e[PnT | SD | Scroll Down |
\e[PnX | ECH | Erase Character |
\e[PnZ | CBT | Cursor Backward Tabulation |
\e[Pn@ | ICH | Insert Character |
\e[Pna | HPR | Horizontal Position Relative |
\e[...c | DA | args:... Device Attributes |
\e[Pnd | VPA | Vertical Position Absolute |
\e[Pne | VPR | Vertical Position Relative |
\e[Pl;Pcf | HVP | Cursor Position |
\e[g | TBC | clear current tab |
\e[0g | TBC | clear current tab |
\e[3g | TBC | clear all tabs |
\e[Ps;Ps;..m | SGR | Select Graphics Rendition |
\e[...n | DSR | args:... CPR Cursor Position Report |
\e[Pt;Pbr | DECSTBM | Set Top and Bottom Margins |
\e[s | SCP | Save Cursor Position |
\e[u | RCP | Restore Cursor Position |
\e[Pl;Prs | DECSLRM | Set Left and Right Margins |
\e[Pn` | HPA | Horizontal Position Absolute |
\e[Pnh | SM | Set Mode |
\e[Pnl | RM | Reset Mode |
\e[Psq | DECLL | Load LEDs |
\e[x | DECREQTPARM | |
\e[z | DECELR | set locator res |
\e5 | DECXMIT | |
\e6 | DECBI | Back index (hor. scroll) |
\e7 | DECSC | Save Cursor |
\e8 | DECRC | Restore Cursor |
\e9 | DECFI | Forward index (hor. scroll) |
\e#3 | DECDHL | Top half of double-width, double-height line |
\e#4 | DECDHL | Bottom half of double-width, double-height line |
\e#5 | DECSWL | Single-width line |
\e#6 | DECDWL | Double-width line |
\e#8 | DECALN | Screen Alignment Pattern |
\ec | RIS | Reset to Initial State |
\e[Pa$p | DECRQM | Request ANSI Mode |
\e[?Pd$p | DECRQM | Request DEC Mode |
\e]0;New_title\e\ | set window title | |
\e]11; | get foreground color | |
\e]11; | get background color | |
\e]1337;key=value:base64data\b\ | iterm2 graphics | |
\e_G..\e\ | kitty graphics | |
\e_A..\e\ | atty audio input/output | |
\ePsixel_data\e\ | sixels | |
\e[?1h | DECCKM | Cursor key mode Application |
\e[?1l | DECCKM | Cursor key mode Cursor |
\e[?2h | DECANM | VT52 emulation on |
\e[?2l | DECANM | VT52 emulation off |
\e[?3h | DECCOLM | Column mode 132 columns |
\e[?3l | DECCOLM | Column mode 80 columns |
\e[?4h | DECSCLM | Scrolling mode smooth |
\e[?4l | DECSCLM | Scrolling mode jump |
\e[?5h | DECSCNM | Screen mode Reverse |
\e[?5l | DECSCNM | Screen mode Normal |
\e[?6h | DECOM | Origin mode Relative |
\e[?6l | DECOM | Origin mode Absolute |
\e[?7h | DECAWM | Autowrap on |
\e[?7l | DECAWM | Autowrap off |
\e[?8h | DECARM | Auto repeat on |
\e[?8l | DECARM | Auto repeat off |
\e[?25h | DECTCEM | Cursor visible on |
\e[?25l | DECTCEM | Cursor visible off |
\e[?69h | DECVSSM | Left right margin on |
\e[?69l | DECVSSM | Left right margin off |
\e[?437h | Encoding/cp437mode cp437 | |
\e[?437l | Encoding/cp437mode utf8 | |
\e[?1000h | Mouse reporting on | |
\e[?1000l | Mouse reporting off | |
\e[?1002h | Mouse drag on | |
\e[?1002l | Mouse drag off | |
\e[?1003h | Mouse all on | |
\e[?1003l | Mouse all off | |
\e[?1006h | Mouse decimal on | |
\e[?1006l | Mouse decimal off | |
\e[?1049h | Alt screen on | |
\e[?1049l | Alt screen off | |
\e[?1010h | scroll on output on | |
\e[?1010l | scroll on output off | |
\e[?2004h | bracketed paste on | |
\e[?2004l | bracketed paste off | |
\e[?201h | ctx-events on | |
\e[?201l | ctx-events off | |
\e[?200h | ctx ascii on | |
ctx ascii | ||
\e[4h | IRM | Insert Mode Insert |
\e[4l | IRM | Insert Mode Replace |
\e[12h | SRM | Local echo on |
\e[12l | SRM | Local echo off |
\e[20h | LNM | Carriage Return on LF/Newline on |
\e[20l | LNM | Carriage Return on LF/Newline off |
\e[0m | Style reset | |
\e[1m | Bold | |
\e[2m | Dim | |
\e[3m | Italic | |
\e[4m | Underscore | |
\e[4:2m | Double underscore | |
\e[4:3m | Curvy underscore | |
\e[5m | Blink | |
\e[6m | Blink Fast | |
\e[7m | Reverse | |
\e[8m | Hidden | |
\e[9m | Strikethrough | |
\e[10m | Font 0 | |
\e[11m | Font 1 | |
\e[12m | Font 2(ignored) | |
\e[13m | Font 3(ignored) | |
\e[14m | Font 4(ignored) | |
\e[22m | Bold off | |
\e[23m | Italic off | |
\e[24m | Underscore off | |
\e[25m | Blink off | |
\e[26m | Proportional spacing | |
\e[27m | Reverse off | |
\e[28m | Hidden off | |
\e[29m | Strikethrough off | |
\e[30m | black text color | |
\e[31m | red text color | |
\e[32m | green text color | |
\e[33m | yellow text color | |
\e[34m | blue text color | |
\e[35m | magenta text color | |
\e[36m | cyan text color | |
\e[37m | light gray text color | |
\e[38;5;Pnm | 256 color index foreground color where Pn is 0-15 is system colors 16-(16+6*6*6) is a 6x6x6 RGB cube and in the end a grayscale without white and black. | |
\e[38;2;Pr;Pg;Pbm | 24 bit RGB foreground color each of Pr Pg and Pb have 0-255 range | |
\e[39m | default text color | |
\e[40m | black background color | |
\e[41m | red background color | |
\e[42m | green background color | |
\e[43m | yellow background color | |
\e[44m | blue background color | |
\e[45m | magenta background color | |
\e[46m | cyan background color | |
\e[47m | light gray background color | |
\e[48;5;Pnm | 256 color index background color where Pn is 0-15 is system colors 16-(16+6*6*6) is a 6x6x6 RGB cube and in the end a grayscale without white and black. | |
\e[48;2;Pr;Pg;Pbm | 24 bit RGB background color Where Pr Pg and Pb have 0-255 range | |
\e[49m | default background color | |
\e[50m | Proportional spacing off | |
\e[53m | Overlined | |
\e[55m | Not Overlined | |
\e[90m | dark gray text color | |
\e[91m | light red text color | |
\e[92m | light green text color | |
\e[93m | light yellow text color | |
\e[94m | light blue text color | |
\e[95m | light magenta text color | |
\e[96m | light cyan text color | |
\e[97m | white text color | |
\e[100m | dark gray background color | |
\e[101m | light red background color | |
\e[102m | light green background color | |
\e[103m | light yellow background color | |
\e[104m | light blue background color | |
\e[105m | light magenta background color | |
\e[106m | light cyan background color | |
\e[107m | white background color |