Appearance
OSC 133;P properties
ESC ] 133 ; P ; key=value BELOSC 133;P sets properties or metadata about the current command. The format is OSC 133 ; P ; key=value BEL, where common keys include Cwd (current working directory), CmdLine (the literal command text), and shell-specific state.
Property reporting lets the terminal track shell state without parsing command output or relying on environment variables. For example, the terminal can know the working directory of each command in scrollback, enabling features like "open this command's directory" or "reproduce this command in a new tab with the same cwd". VS Code's OSC 633 extends this concept with additional VS Code-specific properties.
How this is testedpartial
Send
Send
OSC 133 ; P ; Cwd=/tmp BEL and verify the terminal consumes the sequence (cursor doesn't advance, terminal remains responsive).The same probe runs against headless backends (via Termless) and real terminal apps (via a daemon launched in each terminal). This lets us distinguish parser correctness from rendering correctness.
Analysis2026-04-06
Supported by all 9 tested terminals — universal adoption. Part of the Rich TUI baseline.
Supported by 11 of 14 backends (79%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| Terminal.app | 2.15 | ✓ 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 |