wire / terminal-dec-private-mode / 1036

DECSET 1036 — Send ESC when Meta modifies a key

CSI ? 1036 h enables sending ESC before a key when Meta (Alt) is held. CSI ? 1036 l disables it.

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

aka: DECSET 1036 · DECRST 1036 · ?1036

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?1036h CSI ? 1036 h Meta sends ESC prefix
reset Disable (DECRST) \x1b[?1036l CSI ? 1036 l disables the mode.

gotchas


provenance

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