wire / terminal-dec-private-mode / 2001

DECSET 2001 — In-band resize (alternative)

CSI ? 2001 h enables in-band resize notifications (alternative to 2048). CSI ? 2001 l disables it.

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

aka: DECSET 2001 · DECRST 2001 · ?2001

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?2001h CSI ? 2001 h in-band resize (alternative)
reset Disable (DECRST) \x1b[?2001l CSI ? 2001 l disables the mode.

gotchas


provenance

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