Appearance
Soft reset (DECSTR)
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
| Backend | Version | Support | Notes |
|---|---|---|---|
| xterm.js | 5.5.0 | ✓ yes | |
| Alacritty | 0.26.0 | ~ partial | DECSTR resets modes but headless probe reads stale state |
| Ghostty | 1.3.1 | ~ partial | DECSTR resets modes but headless probe reads stale state |
| Kitty | 0.40.0 | ~ partial | DECSTR resets modes but headless probe reads stale state |
| WezTerm | 0.1.0-fork.5 | ~ partial | DECSTR resets modes but headless probe reads stale state |
| vt100 | 0.1.0 | ✗ no | DECSTR not implemented — pure TypeScript emulator |