Skip to content

Reverse Index at Scroll Top โ€‹

Category: text ยท Tags: VT100 ยท Specification โ†—

RI (ESC M) at the top of the scroll region scrolls the entire region down, inserting a blank line at the top. This is the inverse of a newline at the bottom of the scroll region. Used for smooth scrolling and status line implementations.
How this is tested: Set scroll region, write MARKER at top, reverse index โ€” verify MARKER shifted from row 0 to row 1 via getCell(1,0).
Analysis2026-03-26

Supported by all 8 tested terminals โ€” universal adoption. Part of the Core TUI baseline.

Supported by 13 of 13 backends (100%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yes
VS Code1.112.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ“ yes
tmux3.6aโœ“ yes
Kitty0.46.2โœ“ yes
Terminal.app2.15โœ“ yes
GNU Screen5.0.1โœ“ yes

Headless Backends โ€‹

Parser correctness only โ€” a โœ“ means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0โœ“ yes
vt1000.2.1โœ“ yes
vterm0.2.0โœ“ yes
WezTerm0.1.0-fork.5โœ“ yes

Powered by Termless
Playwright for Terminals