wire / terminal-dec-private-mode / 1002
CSI ? 1002 h enables button-event mouse tracking: the terminal reports button press, release, and motion while a button is held. CSI ? 1002 l disables it.
aka: DECSET 1002 · DECRST 1002 · ?1002
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| set | Enable (DECSET) | \x1b[?1002h | CSI ? 1002 h Mouse tracking; button events + motion while pressed. |
| reset | Disable (DECRST) | \x1b[?1002l | CSI ? 1002 l disables the mode. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/1002
or /terminal-dec-private-mode/1002.json