wire / terminal-dec-private-mode / 1046
CSI ? 1046 h is reserved/used by some terminals for push/pop color palette (xterm) or enabling the kitty keyboard protocol. CSI ? 1046 l disables it.
aka: DECSET 1046 · DECRST 1046 · ?1046
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| set | Enable (DECSET) | \x1b[?1046h | CSI ? 1046 h Color palette push/pop; kitty keyboard. |
| reset | Disable (DECRST) | \x1b[?1046l | CSI ? 1046 l disables the mode. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/1046
or /terminal-dec-private-mode/1046.json