-
-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hide mouse cursor when typing #618
Comments
Mouse movement will show the cursor again. macOS: fix hiding the cursor refs: #618
I have tested and works as expected. Thank you! |
Can this be turned off? I always loose my cursor when it is hidden. |
I'm finding this functionality buggy. I have not been able to pinpoint it but what happens is that the cursor turns off and will not turn back on until I click outside of wezterm window. Moving the mouse, inside or outside, of wezterm does not turn it on. Clicking inside of wezterm does not turn it on. Only clicking outside of wezterm will get it to turn back on. This happens multiple times per day but I have found "the" sequence to make it always happen. |
@gwww are you on macOS? |
Yes, macOS, 11.1 |
I also noticed that when selecting text through tmux the cursor disappears and reappears every time I hold shift and move my cursor. |
NSCursor hide/unhide must be perfectly balanced otherwise the cursor can vanish unexpectedly when the mouse leaves the window, and not come back. So, let's use NSCursor:setHiddenUntilMouseMoves instead; it's not 100% fulfilling the promise of the API, but it's close enough and should avoid the permanent invisibility issue. refs: #618
I'm using the nightly with this fix and it is working properly so far. |
Has this been implemented on wayland? |
@ram02z not yet. Wayland support is difficult because it is incompatible with my nvidia hardware. If you're in a position to have a go at implementing this feature on Wayland, I'd be happy to take a PR for it! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hide the mouse cursor if no movement and type a character in wezterm.
The text was updated successfully, but these errors were encountered: