wire / terminal-dec-private-mode / 5

DECSET 5 — Reverse video (DECSCNM)

CSI ? 5 h enables reverse video (black on white). CSI ? 5 l enables normal video (white on black).

terminal-dec-private-mode kind control-sequence status de-facto verification verified tier B terminal-escape@1

aka: DECSET 5 · DECRST 5 · ?5

frame

DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?5h CSI ? 5 h reverse video (DECSCNM)
reset Disable (DECRST) \x1b[?5l CSI ? 5 l disables the mode.

gotchas


provenance

agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/5 or /terminal-dec-private-mode/5.json