Repository navigation
Right-click release can be missed, leaving mouse state stuck in drag:right #12078
Unanswered
noborus
asked this question in
Issue Triage
Replies: 1 comment 1 reply
|
In Go's tcell, you can verify this using the following steps: Right-click
cd tcell
go run _demos/mouse.goIn Go's BubbleTea,, you can verify this using the following steps: Right-click
cd bubbletea
go run ./examples/mouse/main.go |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Ghostty may sometimes enter a drag state after a right-click, failing to correctly report the release event.
Expected Behavior
When the right-click is released, Ghostty should report a release and change its state to not drag.
Actual Behavior
You can verify this using the following shell script.
https://gist.github.com/cb46d900a623977bb380c46fd5cf269f.git
After right-clicking, run this script and move the mouse.
The following will be displayed:
It should be:
Right-clicking again will fix it.
Reproduction Steps
Ghostty Logs
Ghostty Version
OS Version Information
Ubuntu 24.04.4 and macOS Tahoe 26.4
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
GNOME 46.0
Minimal Ghostty Configuration
Additional Relevant Configuration
gdamore/tcell#1045
I acknowledge that:
```) on separate lines.All reactions