Appearance
Window title (OSC 2)
OSC 2 sets the terminal window title. The sequence is
ESC ] 2 ; title ST where ST is the string terminator (ESC \ or BEL). Used by shells to display the current directory or running command in the window title bar or tab header.Supported by 5 of 6 backends (83%)
Support Matrix
| Backend | Version | Support | Notes |
|---|---|---|---|
| Alacritty | 0.26.0 | ✓ yes | |
| Kitty | 0.40.0 | ✓ yes | |
| vt100 | 0.1.0 | ✓ yes | |
| WezTerm | 0.1.0-fork.5 | ✓ yes | |
| xterm.js | 5.5.0 | ✓ yes | |
| Ghostty | 1.3.1 | ~ partial | Title not exposed via native Zig API |