Skip to content

Reset bold/dim (SGR 22)

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

SGR 22 resets both bold (SGR 1) and faint/dim (SGR 2) attributes. The sequence is ESC [ 22 m. There is no way to reset bold without also resetting faint, or vice versa — they share this single reset code.

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