Skip to content

Overline (SGR 53)

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

SGR 53 draws a line above the text, the mirror image of underline. The sequence is ESC [ 53 m. Reset with SGR 55. Overline is one of the lesser-used ECMA-48 attributes and was adopted by modern terminals relatively recently. It can be useful for horizontal rules, header decoration, or combined with underline for a boxed text effect.

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