wire / terminal-dec-private-mode / 25
CSI ? 25 h makes the text cursor visible; CSI ? 25 l hides it. Standardized as DECTCEM (DEC Text Cursor Enable Mode). TUIs hide the cursor while redrawing the screen to avoid a flickering caret, then show it again on exit.
aka: show cursor · hide cursor · DECTCEM · cursor visibility · ?25h / ?25l · civis/cnorm
DEC-private-mode introducer: \x1b[? ESC [ ? (0x1B 0x5B 0x3F)
terminator (none): ST · BEL
| id | name | bytes (ST) | meaning |
|---|---|---|---|
| set | Show cursor (DECSET) | \x1b[?25h | CSI ? 25 h makes the text cursor visible (the default state). |
| reset | Hide cursor (DECRST) | \x1b[?25l | CSI ? 25 l hides the text cursor. Used by TUIs during screen redraws to prevent caret flicker. |
per-fact attribution:
agent: curl -H 'accept: application/json' wire.phall.io/terminal-dec-private-mode/25
or /terminal-dec-private-mode/25.json