Skip to content

Soft reset (DECSTR)

Category: reset · Tags: DEC Private Modes, VT510 · Specification ↗

DECSTR (Soft Terminal Reset) resets terminal modes and attributes without clearing the screen. The sequence is ESC [ ! p. Unlike RIS (full reset), DECSTR does not clear the display, scrollback, or cursor position. It resets modes (auto-wrap, origin, insert), SGR attributes, character sets, and scroll regions.

Supported by 1 of 6 backends (17%)

Support Matrix

BackendVersionSupportNotes
xterm.js5.5.0✓ yes
Alacritty0.26.0~ partialDECSTR resets modes but headless probe reads stale state
Ghostty1.3.1~ partialDECSTR resets modes but headless probe reads stale state
Kitty0.40.0~ partialDECSTR resets modes but headless probe reads stale state
WezTerm0.1.0-fork.5~ partialDECSTR resets modes but headless probe reads stale state
vt1000.1.0✗ noDECSTR not implemented — pure TypeScript emulator

Powered by Termless
Playwright for Terminals