OSC 106 Special Color Modes
The same as OSC 6: turn xterm's special colors on and off.
OSC 106 ; Pc ; Pf ST
OSC 106 ; Pc ; Pf ST is the same as OSC 6: it turns xterm’s use of special color Pc on or off. Its number looks like a reset, as 104, 105 and 110 to 119 are, but it is not one: xterm sends 6 and 106 to the same code (do_osc).
libghostty-vt ignores it, as it does OSC 6, and a case cannot tell that apart from xterm.
Support
| Terminal | Version | Support | Notes |
|---|---|---|---|
| VT220 | manual, 2nd ed., 1984 | No | OSC is not among the controls it recognizes (§4.2) |
| VT510 | manual, 1st ed., 1993 | No | ignores an OSC string (chapter 4) |
| xterm | patch 412, xterm-411a | Yes | the same code as OSC 6 |
| libghostty-vt | 0f171f6 | No | ignored |
| Konsole | 26.11.70, a24c3d71 | No | |
| ConEmu | build 230724, its documentation | No | not in ConEmu’s list, ANSI escape codes |
Validation
OSC106-1: Nothing on screen, nothing answered
A
\e]106;0;0;1;1\a # bold off, underline on
B
|AB____|
cursor 1,3
reply none