wire / terminal-dec-private-mode / 1007

DECSET 1007 — Alternate scroll (wheel to arrow keys)

CSI ? 1007 h enables alternate scroll: on the alternate screen, scroll wheel sends arrow keys. CSI ? 1007 l disables it.

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

aka: DECSET 1007 · DECRST 1007 · ?1007

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?1007h CSI ? 1007 h alternate scroll (wheel -> arrows)
reset Disable (DECRST) \x1b[?1007l CSI ? 1007 l disables the mode.

gotchas


provenance

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