Appearance
XTREPORTCOLORS — report color capabilities (CSI # R)
CSI # RXTREPORTCOLORS queries xterm's color and graphics capabilities. The sequence is
CSI # R, and the response is CSI Pm # Q where Pm describes the color change support level and graphics capabilities. The response values include: 0=dynamic color change allowed, 1=not allowed, 2=direct-color control, 3=color register control only, 4-5=sixel support, 6=sixel scrolling support, 8-9=ReGIS graphics support, 10=selected graphics read/write support. After the first Pm, the response may include color register count and sixel geometry. Added in xterm patch 400 and updated in patch 401 (2025) to report sixel scrolling support.
Support: xterm only as of 2026. Proposed as a unified capability query to replace the patchwork of individual feature queries.How this is testedautomated
Send
Send
CSI # R, verify response matches CSI Pm # Q pattern.The same probe runs against headless backends (via Termless) and real terminal apps (via a daemon launched in each terminal). This lets us distinguish parser correctness from rendering correctness.
Supported by 0 of 14 backends (0%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ? unknown | |
| Ghostty | 1.3.1 | ? unknown | |
| Terminal.app | 2.15 | ? unknown | |
| Kitty | 0.46.2 | ? unknown | XTREPORTCOLORS (xterm patch 401+) not yet adopted outside xterm |
| VS Code | 1.113.0 | ? unknown | |
| Warp | 0.2026.03.18.08.24.03 | ? unknown | |
| Cursor | 2.6.21 | ? unknown |
Headless Backends
Parser correctness only — a ✓ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| Alacritty | 0.26.0 | ✗ no | XTREPORTCOLORS (xterm patch 401+) not yet adopted outside xterm |
| vt100.js | 0.2.1 | ✗ no | XTREPORTCOLORS (xterm patch 401+) not yet adopted outside xterm |
| WezTerm | 0.1.0-fork.5 | ✗ no | XTREPORTCOLORS (xterm patch 401+) not yet adopted outside xterm |
| vterm | 0.2.0 | ? unknown | |
| xterm.js | 5.5.0 | ? unknown |