wire / terminal-dec-private-mode / 5
CSI ? 5 h enables reverse video (black on white). CSI ? 5 l enables normal video (white on black).
aka: DECSET 5 · DECRST 5 · ?5
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| set | Enable (DECSET) | \x1b[?5h | CSI ? 5 h reverse video (DECSCNM) |
| reset | Disable (DECRST) | \x1b[?5l | CSI ? 5 l disables the mode. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/5
or /terminal-dec-private-mode/5.json