Skip to content

Mode Report (DECRPM) โ€‹

Category: device ยท Tags: VT510 ยท Specification โ†—

ESC [ ? mode $ p
DECRPM (CSI ? Pd $ p) queries whether the terminal recognizes and has enabled a specific DEC private mode. The response CSI ? Pd ; Ps $ y reports the mode state: 1=set, 2=reset, 0=not recognized. Essential for feature detection.
How this is tested: Send CSI ? 25 $ p (query DECTCEM), verify response contains mode value.
Analysis2026-03-26

Supported by 5 of 8 terminals (63%). Not supported by: Kitty, Terminal.app, Warp. Part of the Modern TUI baseline. Notes: Kitty: Headless mode has no output stream for DECRPM responses.

Supported by 5 of 13 backends (38%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yesDECAWM is set
Ghostty1.3.1โœ“ yesDECAWM is set
VS Code1.112.0โœ“ yesDECAWM is set
Cursor2.6.21โœ“ yesDECAWM is set
Warp0.2026.03.18.08.24.03โœ— noNo DECRPM response
tmux3.6aโœ— notmux intercepts DECRPM โ€” responds for its own modes, not the outer terminal
Kitty0.46.2โœ— noHeadless mode has no output stream for DECRPM responses
Terminal.app2.15โœ— noNo DECRPM response
GNU Screen5.0.1โœ— noScreen does not support DECRPM (mode reporting)

Headless Backends โ€‹

Parser correctness only โ€” a โœ“ means the parser accepts the sequence.

BackendVersionSupportNotes
vterm0.2.0โœ“ yes
Alacritty0.26.0~ partialHeadless mode has no output stream for DECRPM responses
WezTerm0.1.0-fork.5~ partialHeadless mode has no output stream for DECRPM responses
vt1000.2.1โœ— noNo output stream โ€” pure TypeScript emulator

Powered by Termless
Playwright for Terminals