wire / terminal-dec-private-mode / 1005
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).
aka: DECSET 1005 · DECRST 1005 · ?1005
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (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. |
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/1005
or /terminal-dec-private-mode/1005.json