Skip to content

Reset italic (SGR 23)

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

SGR 23 resets the italic (SGR 3) attribute, returning text to upright rendering. The sequence is ESC [ 23 m. This is a targeted reset that does not affect other active attributes like bold, underline, or colors.
How this is tested: Send \x1b[3mX\x1b[23mY, verify the second cell has italic=false.

Supported by 11 of 11 backends (100%)

Terminal Applications

TerminalVersionSupportNotes
iTerm23.6.9✓ yes
Ghostty1.3.1✓ yes
VS Code1.112.0✓ yes
Cursor2.6.21✓ yes
Kitty0.46.2✓ yes
Terminal.app2.15✓ yes
Warp0.2026.03.18.08.24.03✓ yes

Headless Backends

Parser correctness only — a means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
vt1000.2.1✓ yes
vterm0.2.0✓ yes
WezTerm0.1.0-fork.5✓ yes

Powered by Termless
Playwright for Terminals