Appearance
Selective Erase (DECSED) โ
DECSED (CSI ? Ps J) erases only unprotected characters, leaving characters with the protected attribute (DECSCA, SGR 1 m) intact. Used for form-based applications where static labels should survive screen clears.
How this is tested: Write "ABCDE", move cursor home, send DECSED (
CSI ? 2 J), verify getCell(0,0) is empty. Confirms selective erase display is recognized.Analysis2026-03-26
Supported by all 8 tested terminals โ universal adoption. Part of the Rich TUI baseline.
Supported by 10 of 13 backends (77%)
Terminal Applications โ
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | โ yes | |
| Ghostty | 1.3.1 | โ yes | |
| VS Code | 1.112.0 | โ yes | |
| Warp | 0.2026.03.18.08.24.03 | โ yes | |
| Cursor | 2.6.21 | โ yes | |
| tmux | 3.6a | โ yes | |
| Kitty | 0.46.2 | โ yes | |
| Terminal.app | 2.15 | โ yes | |
| GNU Screen | 5.0.1 | โ yes |
Headless Backends โ
Parser correctness only โ a โ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| vterm | 0.2.0 | โ yes | DECSED (selective erase) not implemented |
| Alacritty | 0.26.0 | โ no | DECSED (selective erase) not supported in alacritty |
| vt100 | 0.2.1 | โ no | DECSED not implemented โ pure TypeScript emulator |
| WezTerm | 0.1.0-fork.5 | โ no | DECSED (selective erase) not supported in wezterm-term |