Appearance
Secondary Device Attributes (DA2) โ
ESC [ > cDA2 (CSI > c) returns the terminal's type, firmware version, and ROM cartridge registration number. Modern terminals use DA2 to identify themselves โ e.g., xterm returns CSI > 41 ; version ; 0 c. This is commonly used for terminal detection.
How this is tested: Send CSI > c, check for a CSI > Pp ; Pv ; Pc c response via onResponse callback.
Analysis2026-03-26
Supported by all 8 tested terminals โ universal adoption. Part of the Modern 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 | Headless mode has no output stream for DA2 responses |
| 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 | |
| Alacritty | 0.26.0 | ~ partial | Headless mode has no output stream for DA2 responses |
| WezTerm | 0.1.0-fork.5 | ~ partial | Headless mode has no output stream for DA2 responses |
| vt100 | 0.2.1 | โ no | No output stream โ pure TypeScript emulator |