wire / terminal-dec-private-mode / 1003

DECSET 1003 — Any-event mouse tracking

CSI ? 1003 h enables any-event mouse tracking: the terminal reports all motion, even with no button held. CSI ? 1003 l disables it.

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

aka: DECSET 1003 · DECRST 1003 · ?1003

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?1003h CSI ? 1003 h Mouse tracking; all motion events.
reset Disable (DECRST) \x1b[?1003l CSI ? 1003 l disables the mode.

gotchas


provenance

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