wire / terminal-dec-private-mode / 1005

DECSET 1005 — UTF-8 mouse mode (deprecated)

CSI ? 1005 h enables UTF-8 mouse encoding: coordinates above 223 are encoded as UTF-8 sequences instead of the +32 byte form. CSI ? 1005 l disables it. Deprecated in favor of 1006 (SGR).

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

aka: DECSET 1005 · DECRST 1005 · ?1005

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?1005h CSI ? 1005 h Mouse tracking; UTF-8 coordinate encoding (deprecated).
reset Disable (DECRST) \x1b[?1005l CSI ? 1005 l disables the mode.

gotchas


provenance

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