Skip to content

Left/Right Margins (DECLRMM, Mode 69) โ€‹

Category: modes ยท 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 tested: Enable DECLRMM (CSI ? 69 h), check getMode("leftRightMargin") returns true. Confirms the backend tracks left/right margin mode.
Analysis2026-03-26

Supported by 7 of 8 terminals (88%). Not supported by: Cursor. Part of the Rich TUI baseline.

Supported by 9 of 13 backends (69%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yesDECLRMM not tracked by ghostty-web WASM backend
VS Code1.112.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ“ yes
tmux3.6aโœ“ yes
Kitty0.46.2โœ“ yesDECLRMM not exposed via Python batch bridge
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~ partialDECLRMM not exposed via alacritty_terminal API
WezTerm0.1.0-fork.5~ partialDECLRMM not exposed via wezterm-term API
vt1000.2.1โœ— noDECLRMM not implemented โ€” pure TypeScript emulator
vterm0.2.0โœ— noDECLRMM not implemented

Powered by Termless
Playwright for Terminals