Skip to content

Origin mode (DECOM)

Category: modes · Tags: DEC Private Modes, VT100 · Specification ↗

DECOM (Origin Mode) changes how cursor positioning works relative to scroll margins. Enable with ESC [ ? 6 h. When active, cursor coordinates are relative to the scroll region rather than the entire screen, and the cursor is confined within the scroll region boundaries. Used by applications that operate within scroll regions to simplify coordinate calculations.

Supported by 5 of 6 backends (83%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Ghostty1.3.1✓ yes
vt1000.1.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0✓ yes
Kitty0.40.0~ partialNot exposed via Python batch bridge

Powered by Termless
Playwright for Terminals