Repository navigation
Mouse cursor stuck as crosshair after Option+key hides mouse with mouse-hide-while-typing enabled
#12232
Issue DescriptionGhostty uses Lines 61 to 63 in 7421b4b Thus, when mouse-hide-while-typing is enabled, pressing a modifier key combination that changes the cursor shape (for example, Option on macOS), followed by a key sequence that Ghostty interprets as typing (such as Option+i, a dead key on macOS), causes the cursor-shape state transitions to be skipped. As a result, the following key-release event fails to restore the cursor to its default shape (e.g., .text).
Expected BehaviorAfter pressing and releasing any modifier combination that changes the cursor shape but also triggers Actual BehaviorThe mouse cursor remains stuck as a crosshair after the keys are released and the mouse is moved. The crosshair persists until another modifier key event triggers a shape transition. Reproduction Steps
Ghostty LogsNo response Ghostty VersionOS Version InformationmacOS 26 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationmouse-hide-while-typing = trueAdditional Relevant ConfigurationNo response I acknowledge that:
|
Replies: 2 comments
|
Tried to reproduce it myself, and found that this is not related Screen.Recording.2026-04-13.at.14.46.00.mp4 |
#12265