Skip to content

Italic (SGR 3)

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

SGR 3 renders text in italic style. The sequence is ESC [ 3 m. Reset with SGR 23. Italic requires the terminal font to have an italic variant — monospace fonts without italics typically render it as normal text or with a slight color change. Italic was not supported on early hardware terminals and was historically rendered as inverse video on some systems. Modern terminals with proper font support render true italics, commonly used for comments, emphasis, and documentation in TUI applications and syntax-highlighted output.

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