Appearance
CUP with DECOM โ
When DECOM (Origin Mode, CSI ? 6 h) is set, CUP coordinates become relative to the current scroll region set by DECSTBM. With a scroll region of rows 5-15 and DECOM enabled,
CSI 1 ; 1 H moves the cursor to row 5 (the top of the scroll region) rather than the absolute top of the screen. This interaction between DECSTBM and DECOM is fundamental to how full-screen applications partition the terminal into independently scrolling regions.How this is tested: Set DECSTBM 5;15, enable DECOM, send
\x1b[1;1H, verify cursor is at row 4 (0-based scroll region top). Disable DECOM and reset scroll region.Analysis2026-03-26
Supported by 1 of 5 terminals (20%). Not supported by: Ghostty, Kitty, iTerm2, Terminal.app. Part of the Core TUI baseline.
Supported by 6 of 11 backends (55%)
Terminal Applications โ
| Terminal | Version | Support | Notes |
|---|---|---|---|
| VS Code | 1.112.0 | โ yes | |
| Warp | 0.2026.03.18.08.24.03 | โ yes | |
| Cursor | 2.6.21 | โ yes | |
| iTerm2 | 3.6.9 | โ no | got 1;1, expected 5;1 |
| Ghostty | 1.3.1 | โ no | got 1;1, expected 5;1 |
| Kitty | 0.46.2 | โ no | got 1;1, expected 5;1 |
| Terminal.app | 2.15 | โ no | got 1;1, expected 5;1 |