Appearance
ECMA-48 Standard
Features defined in the ECMA-48 standard (also known as ISO/IEC 6429 and ANSI X3.64). These are the most fundamental terminal control sequences for cursor movement, text styling, and screen manipulation. Published in 1976 and revised through 1998, ECMA-48 defines the CSI (Control Sequence Introducer) format used by nearly all modern escape sequences.
28 features in this category
Support Matrix
| Feature | Ghostty | WezTerm | Alacritty | vt100 | xterm.js | Kitty |
|---|---|---|---|---|---|---|
| Bold (SGR 1) | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| Faint/dim (SGR 2) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Italic (SGR 3) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Underline (SGR 4) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Double underline (SGR 21) | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ |
| Blink (SGR 5) | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ |
| Inverse video (SGR 7) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Hidden/invisible (SGR 8) | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ |
| Strikethrough (SGR 9) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Reset all (SGR 0) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor position (CUP) | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| Cursor up (CUU) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor down (CUD) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor forward (CUF) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor back (CUB) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor home | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Erase to EOL (EL 0) | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| Erase to BOL (EL 1) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Erase line (EL 2) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Erase screen (ED 2) | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ |
| Erase below (ED 0) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Scroll up (SU) | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ |
| Reverse index (RI) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| SGR reset clears attributes | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| Full reset (RIS) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Tab stops | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Carriage return | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Line feed | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |