microsoft/Terminal

Mouse cursor hide-on-type breaks if mouse recently moved

Open

#12,751 opened on Mar 24, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-TerminalControlHelp WantedIssue-BugPriority-3Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

Windows Terminal version

1.13.10395.0

Windows build number

Version 10.0.19043.1586

Other Software

No response

Steps to reproduce

When typing in windows terminal the mouse cursor hides. However if you move the mouse cursor and then type without waiting long enough, even if you don't move the mouse cursor at all any more, the mouse cursor instead hides, and then after a couple of seconds unhides itself.

Expected behavior:

Expected Behavior

Mouse cursor hides and stays hidden when you type.

Or (unlikely) if an earlier recent move is intended to prevent hiding, then just prevent hiding rather than hide/unhiding.

Actual Behavior

If you type after a recent mouse move, the cursor hides itself and then after a delay unhides itself, even if there was no mouse movement after the hide.

If you type after a less recent mouse move (the threshold seems to be > 1-2 seconds), things work correctly: the cursor hides and stays hidden.

Contributor guide