Appearance
Reset color palette (OSC 104)
ESC ] 104 ; c BELOSC 104 resets one or all palette colors to their default values. To reset a specific color:
ESC ] 104 ; c BEL where c is the palette index. To reset all 256 colors: ESC ] 104 BEL (no argument). This is the companion to OSC 4 — applications that modify the palette at startup should send OSC 104 on exit to restore the user's original colors. Most terminals that support OSC 4 also support OSC 104.How this is tested: Modify palette color 0 via OSC 4, then send
OSC 104 ; 0 BEL to reset it. Verify the terminal consumes the sequence by checking cursor position remains stable.Analysis2026-04-06
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 | OSC 104 color reset requires a real display — headless backends have no color palette to reset |
| 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 |
Headless Backends
Parser correctness only — a ✓ means the parser accepts the sequence.
| Backend | Version | Support | Notes |
|---|---|---|---|
| Alacritty | 0.26.0 | ✗ no | OSC 104 color reset requires a real display — headless backends have no color palette to reset |
| vt100.js | 0.2.1 | ✗ no | Not implemented — pure TypeScript emulator |
| vterm | 0.2.0 | ✗ no | OSC 104 color reset not implemented in vterm.js |
| WezTerm | 0.1.0-fork.5 | ✗ no | OSC 104 color reset requires a real display — headless backends have no color palette to reset |
| xterm.js | 5.5.0 | ✗ no | OSC 104 color reset requires a real display — headless backends have no color palette to reset |