Skip to content

Reset all (SGR 0)

Category: sgr · Tags: ECMA-48 Standard, VT100 · Specification ↗

SGR 0 resets all text attributes to their defaults: removes bold, faint, italic, underline, blink, inverse, hidden, strikethrough, overline, and resets foreground and background colors. The sequence is ESC [ 0 m or simply ESC [ m (parameter defaults to 0). Universally supported and the most fundamental SGR sequence.

Supported by 6 of 6 backends (100%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Ghostty1.3.1✓ yes
Kitty0.40.0✓ yes
vt1000.1.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0✓ yes

Powered by Termless
Playwright for Terminals