Appearance
Systemd context (OSC 3008)
ESC ] 3008 ; params BELOSC 3008 is the systemd/UAPI group context signaling protocol for hierarchical session tracking. The sequence
ESC ] 3008 ; params BEL communicates context changes — when a shell enters a container, SSH session, sudo context, or virtual machine. The terminal can display this context hierarchy (e.g., in the title bar or tab) so users always know where their commands execute. Parameters use a key-value format to convey the context type, label, and nesting depth. Defined by the UAPI group (systemd ecosystem), currently supported by VTE-based terminals (GNOME Terminal, Prompt, kgx).How this is tested: Send
OSC 3008 ; type=test BEL and verify the terminal consumes the context sequence (cursor position unchanged).Analysis2026-04-06
Supported by all 3 tested terminals — universal adoption. Part of the Rich TUI baseline.
Supported by 5 of 14 backends (36%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| Kitty | 0.46.2 | ✓ yes | |
| VS Code | 1.113.0 | ? unknown | |
| Warp | 0.2026.03.18.08.24.03 | ? unknown | |
| Cursor | 2.6.21 | ? unknown | |
| Terminal.app | 2.15 | ? unknown |