Appearance
Reverse video (DECSCNM)
ESC [ ? 5 hDECSCNM (Screen Mode) swaps the default foreground and background colors for the entire screen. Enable with
ESC [ ? 5 h, disable with ESC [ ? 5 l. This is a global mode that affects all displayed content, distinct from SGR 7 which only affects individual character cells.How this is testedautomated
Send
Send
\x1b[?5h (DECSCNM), verify reverseVideo mode is active.The same probe runs against headless backends (via Termless) and real terminal apps (via a daemon launched in each terminal). This lets us distinguish parser correctness from rendering correctness.
Analysis2026-04-06
Supported by all 12 tested terminals — universal adoption. Part of the Core TUI baseline.
Supported by 11 of 14 backends (79%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ✓ yes | DECRPM: mode reset |
| Ghostty | 1.3.1 | ✓ yes | DECRPM: mode reset |
| VS Code | ✓ yes | ||
| Warp | ✓ yes | ||
| Cursor | ✓ yes | ||
| Terminal.app | ✓ yes |
Headless Backends
Parser correctness only — a ✓ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| vt100.js | 0.2.1 | ✓ yes | |
| vterm | 0.2.0 | ✓ yes | |
| WezTerm | 0.1.0-fork.5 | ✓ yes | |
| Alacritty | 0.26.0 | ~ partial | Not exposed via alacritty_terminal API |
| Kitty | 0.40.0 | ~ partial | Not exposed via Python batch bridge |
| xterm.js | 5.5.0 | ~ partial | Parser handles DECSCNM but headless mode doesn't expose the state |