-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Windows Terminal version
1.18.1421.0
Windows build number
10.0.19045.2913
Other Software
No response
Steps to reproduce
I don't have a simple test case to reproduce this yet, but what I'm doing is playing a terminal game that hides the cursor on startup.
Expected Behavior
I shouldn't be able to see the cursor while the game is in progress.
Actual Behavior
9 times out of 10, the cursor is visible.
Having added some logging in AdaptDispatch, I can see that conhost is receiving a single DECTCEM sequence to hide the cursor, but what Windows Terminal ends up receiving is two requests to hide the cursor, followed by another request to show it again. I'm guessing this is the result of some conpty reordering that has gone wrong.
A git bisect suggests that this might be a regression caused by PR #14677. I'm not absolutely certain of that though, because the issue doesn't always reproduce 100% of the time.
I'll try and come up with a simple test case when I have more time, but I just wanted to get the issue filed before I forget about it.