-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CursorColor changed on its own #193
Comments
Oh no, this bug actually made it out to insiders 😢 I noticed this a few builds ago internally, I'm not totally sure what it is, but I believe it's a bad manifesting issue, but I already have a bug open to investigate more. You're correct, deleting the What's happening with this bug I believe is that we're zeroing out the cursor color, causing it to render as black on black. |
Thanks for the speedy reply! Would pre-creating the registry field with a non-zero value on build upgrade perhaps avoid the problem? |
That's almost certainly going to be the fix, yea. To get more specific: conhost treats At about the same time we started type-checking the values in the registry for settings, and zeroing them appropriately. I'm not sitting in front of the code right now, but my guess is that we're finding no value for the cursor color, and instead of defaulting to Fortunately, because these settings get re-applied on build-to-build upgrades, as soon as I fix the manifest it should fix your settings :) |
Checked in the fix earlier today. WE really should create a batch script that people can use to set their cursor colors just in case they run into this, or if they want to change the colors of their cursor just for the heck of it. I just haven't had the cycles to put something together. |
Fix is out in Insider build 17711. On the main Windows Build blog too vice WSL/Console Release Notes (which I found odd).
|
As per https://github.com/Microsoft/console/issues/232, this has NOT been fixed even as of 17713, and more fixes are inbound. |
Is there a workaround that works on 17713? Deleting the registry key seems not to, changing the registry key seems not do (tried 0x00202020), or if I go to Fast Insiders, maybe I pick up enough fixes? Ironically, I went to Insiders just to get the Copy/Paste console fix, which is best feature ever 😁 |
Yea, it seems that the black cursor color could corrupt your shortcut, which you'd be unable to fix at all. So please be patient while more fixes bubble out :) |
What worked for me was setting the cursor color to 60606060, and the cursor type to 1 from zero. Happy to be patient, sort of, not having a cursor was killing me, was about to roll back, the workaround saved running Insider.... |
Hi, what's the full path for the registry key? I've been struggling with this as well |
@ioweb-gr That depends on how you're launching the console. I'd take a look at The persistence (and loading) of the cursor color was disabled for the 1809 release, so whenever you get upgraded to the October Update, that should fix it. |
thanks @zadjii-msft I wanted to try the solution here in case it helped because my problem seemed similar however my problem doesn't seem to be the same as this one as the cursor color settings didn't change anything at all. My cursor seems to disappear when moving it with arrow keys or while typing. If I leave it there it starts blinking again after a while and I see it but it makes it really hard to type. The shortcut I'm using is the default shortcut from the ubuntu store app. I'm running currently build 18252.1000. |
Ah great. I couldn't find it before. I'll monitor that thread then |
Running 17672, I suddenly found (with two terminal windows open) that one terminal window's cursor had turned black instead of gray. From that point onwards, all my terminals (Windows or WSL) have had a black cursor (even after DECSCUSR calls).
I imagine this might be related to the newly landed support for setting cursor shape, but I'm unable to get this color change to revert.
Deleting
CursorColor
in theConsole
registry key took care of the issue, but I'm not sure how it could have come to be in the first place. This option isn't exposed userland, is it? Black is DWORD0
, so it could be that the value was simply created with a default integer for its content, but again, not sure how that happened.The text was updated successfully, but these errors were encountered: