wire / terminal-dec-private-mode / 40

DECSET 40 — Allow 80/132 mode (xterm)

CSI ? 40 h allows 80/132 column mode switching. CSI ? 40 l disables it.

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

aka: DECSET 40 · DECRST 40 · ?40

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?40h CSI ? 40 h allow 80/132 mode (xterm)
reset Disable (DECRST) \x1b[?40l CSI ? 40 l disables the mode.

gotchas


provenance

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