Skip to content

Italic (SGR 3) โ€‹

Category: sgr ยท Tags: ECMA-48 Standard ยท Specification โ†—

ESC [ 3 m
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.
How this is tested: Send \x1b[3mX, verify the cell at (0,0) has italic=true.
Analysis2026-03-26

Supported by all 8 tested terminals โ€” universal adoption. Part of the Core TUI baseline.

Supported by 12 of 13 backends (92%)

Terminal Applications โ€‹

TerminalVersionSupportNotes
iTerm23.6.9โœ“ yes
Ghostty1.3.1โœ“ yes
VS Code1.112.0โœ“ yes
Warp0.2026.03.18.08.24.03โœ“ yes
Cursor2.6.21โœ“ yes
tmux3.6aโœ“ yes
Kitty0.46.2โœ“ yes
Terminal.app2.15โœ“ yes
GNU Screen5.0.1โœ“ yes

Headless Backends โ€‹

Parser correctness only โ€” a โœ“ means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0โœ“ yes
vterm0.2.0โœ“ yes
WezTerm0.1.0-fork.5โœ“ yes
vt1000.2.1โœ— noNot in VT100/VT220 โ€” use vterm.js for modern SGR

Powered by Termless
Playwright for Terminals