Appearance
Cursor shape (DECSCUSR)
DECSCUSR (DEC Set Cursor Style) changes the cursor appearance. The sequence is
ESC [ N SP q where N is: 0 or 1 (blinking block), 2 (steady block), 3 (blinking underline), 4 (steady underline), 5 (blinking bar/I-beam), 6 (steady bar). Applications use this to signal editing mode — for example, vim uses a block cursor in normal mode and a bar cursor in insert mode.Supported by 4 of 6 backends (67%)
Support Matrix
| Backend | Version | Support | Notes |
|---|---|---|---|
| Alacritty | 0.26.0 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| Kitty | 0.40.0 | ✓ yes | |
| WezTerm | 0.1.0-fork.5 | ✓ yes | |
| xterm.js | 5.5.0 | ~ partial | Parser handles DECSCUSR but headless mode doesn't expose cursor shape |
| vt100 | 0.1.0 | ✗ no | Not implemented — pure TypeScript emulator |