wire / terminal-dec-private-mode / 2031
CSI ? 2031 h asks the terminal to send OSC 21 (color scheme change) notifications when the system switches between dark and light mode. CSI ? 2031 l disables them.
aka: DECSET 2031 · DECRST 2031 · ?2031
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| set | Enable (DECSET) | \x1b[?2031h | CSI ? 2031 h Color scheme change notifications. |
| reset | Disable (DECRST) | \x1b[?2031l | CSI ? 2031 l disables the mode. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/2031
or /terminal-dec-private-mode/2031.json