wire / terminal-dec-private-mode / 2001
CSI ? 2001 h enables in-band resize notifications (alternative to 2048). CSI ? 2001 l disables it.
aka: DECSET 2001 · DECRST 2001 · ?2001
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (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. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/2001
or /terminal-dec-private-mode/2001.json