iga
iga

Reputation: 3633

Mouse thinks it is in a different tmux pane

I am using tmux 3.0 in bash over ssh on CentOS 7. My tmux.conf is fairly simple. It has some bindings and

set-option -g mouse on
set -g focus-events on

I have a fairly large tmux window with 3 vertical panes. When I move the mouse to the right side of the rightmost pane and do something (e.g. scroll with mouse wheel or click to select this pane). The action gets executed on the leftmost pane instead.

This behavior persists if I detach from and reattach to the session. Any ideas what might be causing this and how to fix it?

Upvotes: 0

Views: 328

Answers (1)

user11274868
user11274868

Reputation:

Terminal emulators which do not support SGR mouse mode will not correctly report any mouse actions to the right of column 227. Is your terminal emulator window wider than this?

Try using a different terminal emulator.

Upvotes: 2

Related Questions