Skip to content

Terminal Version (XTVERSION) โ€‹

Category: device ยท Tags: Xterm Extensions ยท Specification โ†—

XTVERSION (CSI > 0 q) requests the terminal's name and version string. The response is DCS > | name(version) ST. This allows applications to identify the exact terminal and version at runtime, enabling precise feature detection beyond what TERM or DA responses provide. Originally an xterm extension, now supported by many modern terminals including Ghostty, WezTerm, foot, and kitty.
How this is tested: Send CSI > 0 q, verify the terminal responds with a DCS > | version string.
Analysis2026-03-26

Supported by 3 of 5 terminals (60%). Not supported by: Kitty, Terminal.app. Part of the Rich TUI baseline.

Supported by 8 of 11 backends (73%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yes
VS Code1.112.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ— noNo XTVERSION response
Kitty0.46.2โœ— noNo XTVERSION response
Terminal.app2.15โœ— noNo XTVERSION response

Headless Backends โ€‹

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

BackendVersionSupportNotes
Alacritty0.26.0โœ“ yesnot supported
vt1000.2.1โœ“ yesnot supported
vterm0.2.0โœ“ yes
WezTerm0.1.0-fork.5โœ“ yesnot supported

Powered by Termless
Playwright for Terminals