Skip to content

Scroll up (SU)

Category: scrollback · Tags: ECMA-48 Standard, VT510 · Specification ↗

SU scrolls the content within the scroll region up by N lines, inserting blank lines at the bottom. The sequence is ESC [ N S (default N=1). Lines scrolled off the top enter the scrollback buffer (on the main screen). Used by applications to scroll content without moving the cursor.

Supported by 5 of 6 backends (83%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Ghostty1.3.1✓ yes
Kitty0.40.0✓ yes
vt1000.1.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0~ partialHeadless API reads from buffer, not viewport after scroll

Powered by Termless
Playwright for Terminals