Skip to content

Terminal: add support for showing/hiding the cursor (DECSET/DECRST 25, DECTCEM) #3093

@egmontkob

Description

@egmontkob

Environment

Windows build number: Win32NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0

Steps to reproduce

printf '\e[?25l'

Expected behavior

The cursor should become invisible.

Actual behavior

The cursor remains visible and blinking. It is often misplaced on subsequent operations, though.

E.g. press the Up arrow, it brings back the previous printf command to the command line. Press the Left arrow, the cursor doesn't move. Press Backspace, the letter l is removed (that is, the logical cursor did indeed move to the left in the previous step), the cursor now blinks at the right edge.

Metadata

Metadata

Assignees

Labels

Area-VTVirtual Terminal sequence supportHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-1A description (P1)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions