wire / terminal-dec-private-mode / 2048

DECSET 2048 — In-band resize notifications

CSI ? 2048 h enables in-band resize notifications: the terminal sends CSI 48 ; rows ; cols t (or CSI 8 ; rows ; cols t for pixels) when the window is resized, instead of (or in addition to) SIGWINCH. CSI ? 2048 l disables it.

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

aka: DECSET 2048 · DECRST 2048 · ?2048

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?2048h CSI ? 2048 h In-band resize; CSI 48/8 notifications.
reset Disable (DECRST) \x1b[?2048l CSI ? 2048 l disables the mode.

gotchas


provenance

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