Appearance
Reverse video (DECSCNM)
DECSCNM (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.Supported by 3 of 6 backends (50%)
Support Matrix
| Backend | Version | Support | Notes |
|---|---|---|---|
| Ghostty | 1.3.1 | ✓ yes | |
| vt100 | 0.1.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 |