wire / terminal-dec-private-mode / 2048
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.
aka: DECSET 2048 · DECRST 2048 · ?2048
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (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. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/2048
or /terminal-dec-private-mode/2048.json