tmux mouse mode doesnt reliably select panes #5362
-
|
When tmux mouse mode is enabled, selecting panes with the mouse is not reliable. Sometimes clicking seems to do nothing, or lags into a selection mode. Ill attach av video to demonstrate. I have noticed that sometimes clicking fairly quickly in quick succession (slower than a double click) will be more reliable Screen.Recording.2025-01-24.at.4.44.35.PM.movHere's my config: Edit: I forgot to include important details :) Macos 14.7.2 (23H311) Ghostty version 1.0.1 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 13 replies
-
|
could you perhaps use the terminal inspector to view the mouse states? (and post a video here) |
Beta Was this translation helpful? Give feedback.
-
|
I've noticed similar behavior to @yonilerner. It looks like in the provided screen capture, the "Click State" on the right side of the inspector is "R". Right clicking once in the terminal fixes this. It seems like there's some way for the right mouse button to be stuck in a mouse-down state (maybe when it's used with a modifier key?). I've encountered this behavior both on macos and Linux (Debian 13, GNOME 48). |
Beta Was this translation helpful? Give feedback.
-
|
I am late to the party, but what Tmux (depending on your config and overrides as well as versions) doesn't always play nice with Popular opinion for tmux seems to converge on setting your |
Beta Was this translation helpful? Give feedback.
-
|
Can this still be reproduced on the latest nightly releases? I haven't heard any further reports. |
Beta Was this translation helpful? Give feedback.
-
|
This issue is wrongly marked as closed/fixed. But others (and I) can reproduce it. (see thread above) I can reproduce on ghostty 1.3.0-dev-b4a4830-nix on linux Some more detailed explanation can be found here #5362 (reply in thread), thanks to @adamatom TL:DR; To reproduce, with tmux open (I am ssh'ing into tmux, idk if this generate a difference):
FYI @mitchellh |
Beta Was this translation helpful? Give feedback.
-
|
This still appears to be an issue for me in Ghostty 1.3.1 on macOS. As before, if I shift+right click, the terminal inspector shows the "Click State" as stuck at "R", and it never resets until I right click again without a modifier key held. |
Beta Was this translation helpful? Give feedback.

Im on 1.1.3 now and havent had issues for a while