Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mouse selection lost by status update in byobu/tmux

Tags:

iterm

tmux

byobu

I'm on Mac 10.7.5 iTerm2, ssh'ing into an Ubuntu machine running byobu 5.12 with tmux 1.7.

The problem is that if I try to select text from the terminal with a mouse, it's gets cleared every time the time gets updated on the bottom right hand side of the status bar. That is, I select fine, then the clock ticks over, and it's cleared again.

Any workaround for this?

like image 277
purple51 Avatar asked Nov 02 '12 04:11

purple51


People also ask

How do I enable mouse on Tmux?

Configure Tmux for Mouse SupportRestart Tmux or run the Tmux command source ~/. tmux. conf , and you should be able to scroll up or down the scrollback with your mouse. You'll also be able to select a pane with the mouse and resize them.


1 Answers

I just proposed this tiny fix http://bazaar.launchpad.net/~zekus-one/byobu/trunk/revision/1992 and is waiting for revision. That fixes the issue for me.

You should be able to edit /usr/bin/byobu-status and apply the fix manually while waiting for the official release.

Hope this helps.

like image 69
zekus Avatar answered Oct 02 '22 19:10

zekus