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