Skip to content

Total line count โ€‹

Category: scrollback ยท Tags: Xterm Extensions ยท Specification โ†—

Tests whether the terminal can report the total number of lines in the buffer (visible + scrollback). This is used by testing frameworks and terminal introspection tools to verify scrollback behavior.
How this is tested: Write 30 lines, verify total line count is at least 30.
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โœ“ yesContent written to scrollback
Ghostty1.3.1โœ“ yesContent written to scrollback
VS Code1.112.0โœ“ yesContent written to scrollback
Warp0.2026.03.18.08.24.03โœ“ yesContent written to scrollback
Cursor2.6.21โœ“ yesContent written to scrollback
tmux3.6aโœ“ yesContent written to scrollback
Kitty0.46.2โœ“ yesContent written to scrollback
Terminal.app2.15โœ“ yesContent written to scrollback
GNU Screen5.0.1โœ“ yesContent written to scrollback

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