Skip to content

Icon and title (OSC 0)

Category: extensions · Tags: Operating System Commands (OSC), Xterm Extensions · Specification ↗

OSC 0 sets both the icon name and window title simultaneously. The sequence is ESC ] 0 ; title ST. In practice, the "icon name" is a legacy concept from X11 window managers — most modern terminals treat OSC 0 identically to OSC 2 (window title only).

Supported by 5 of 6 backends (83%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Kitty0.40.0✓ yes
vt1000.1.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0✓ yes
Ghostty1.3.1~ partialTitle not exposed via native Zig API

Powered by Termless
Playwright for Terminals