Appearance
DECSTBM constrains scrolling โ
When a scroll region is set via DECSTBM, scrolling (line feeds, index, SU/SD) should be constrained to the defined region. Lines outside the scroll region must remain fixed. This is the fundamental mechanism that enables fixed headers, footers, and split-screen layouts in TUI applications. Without proper scroll region isolation, tmux panes, vim status bars, and editor chrome would be disrupted by scrolling content.
How this is tested: Write "FIXED_TOP" on row 0, set DECSTBM 3;10, move inside region, write enough lines to trigger scrolling, verify row 0 still contains "FIXED_TOP".
Analysis2026-03-26
Supported by all 5 tested terminals โ universal adoption. Part of the Core TUI baseline.
Supported by 11 of 11 backends (100%)
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 | |
| Kitty | 0.46.2 | โ yes | |
| Terminal.app | 2.15 | โ yes |