Skip to content

Hide cursor (DECTCEM)

Category: cursor · Tags: DEC Private Modes, VT510 · Specification ↗

DECTCEM (DEC Text Cursor Enable Mode) controls cursor visibility. Hide cursor: ESC [ ? 25 l. Show cursor: ESC [ ? 25 h. TUI applications typically hide the cursor during rendering to avoid flicker, then restore it at the final cursor position. Universally supported.

Supported by 5 of 6 backends (83%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Ghostty1.3.1✓ yes
Kitty0.40.0✓ yes
vt1000.1.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0~ partialParser handles DECTCEM but headless mode doesn't expose visibility state ↗ upstream

Powered by Termless
Playwright for Terminals