Skip to content

Left/Right Margins (DECLRMM, Mode 69)

Category: modes · Baseline: rich · Tags: VT510 · Specification ↗

DECLRMM (mode 69) enables left and right scroll margins, similar to top/bottom margins set by DECSTBM. When enabled, DECSLRM sets the left and right margins. Scrolling and editing operations are confined to the margin area.
How this is testedautomated
Enable DECLRMM (CSI ? 69 h), check getMode("leftRightMargin") returns true. Confirms the backend tracks left/right margin mode.

The same probe runs against headless backends (via Termless) and real terminal apps (via a daemon launched in each terminal). This lets us distinguish parser correctness from rendering correctness.

Analysis2026-04-06

Supported by 10 of 12 terminals (83%). Not supported by: vt100.js, xterm.js. Part of the Rich TUI baseline. Notes: vt100.js: DECLRMM not implemented — pure TypeScript emulator; xterm.js: DECLRMM not implemented in xterm.js.

Supported by 9 of 14 backends (64%)

Terminal Applications

TerminalVersionSupportNotes
iTerm23.6.9✓ yes
Ghostty1.3.1✓ yesDECLRMM not tracked by ghostty-web WASM backend
VS Code✓ yes
Warp✓ yes
Cursor✓ yes
Terminal.app✓ yes

Headless Backends

Parser correctness only — a means the parser accepts the sequence.

BackendVersionSupportNotes
vterm0.2.0✓ yesDECLRMM not implemented
Alacritty0.26.0~ partialDECLRMM not exposed via alacritty_terminal API
Kitty0.40.0~ partialDECLRMM not exposed via Python batch bridge
WezTerm0.1.0-fork.5~ partialDECLRMM not exposed via wezterm-term API
vt100.js0.2.1✗ noDECLRMM not implemented — pure TypeScript emulator
xterm.js5.5.0✗ noDECLRMM not implemented in xterm.js