Appearance
XTGETTCAP (Query Terminfo)
XTGETTCAP (DCS + q Pt ST) queries terminfo capabilities via DCS escape sequences. The terminal responds with the capability value, allowing applications to query terminal features without parsing terminfo databases. Used by notcurses and foot.
How this is tested: Send DCS + q 544e ST (hex-encoded query for TN capability), check for a DCS response.
Supported by 4 of 12 backends (33%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ? unknown | |
| Ghostty | 1.3.1 | ? unknown | |
| cmux | 0.62.2 | ? unknown | |
| Kitty | 0.46.2 | ? unknown | |
| VS Code | 1.112.0 | ? unknown | |
| Warp | 0.2026.03.18.08.24.03 | ? unknown | |
| Cursor | 2.6.21 | ? unknown | |
| Terminal.app | 2.15 | ? unknown |