wire / terminal-dec-private-mode / 1045

DECSET 1045 — Reverse wraparound mode

CSI ? 1045 h enables reverse wraparound: when the cursor moves left past column 1, it wraps to the previous line. CSI ? 1045 l disables it.

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

aka: DECSET 1045 · DECRST 1045 · ?1045

frame

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

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
set Enable (DECSET) \x1b[?1045h CSI ? 1045 h reverse wraparound mode
reset Disable (DECRST) \x1b[?1045l CSI ? 1045 l disables the mode.

gotchas


provenance

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