Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Byobu mouse scrolling - [OSX + Iterm2]

I am trying to enable the mouse scrolling functionality in my local (non-ssh) byobu installation.

What I have tried doing :

  1. Pressing F7 and scrolling with the mouse results in the following Incorrect scrolling

  2. Enabled the "Save lines to scrollback option" in Iterm2 Save lines to scrollback option

  3. Changed my ~/.tmux.conf to

    set -ga terminal-overrides 'xterm*:smcup@:rmcup@'
    set-option -g mouse on
    

Nothing seems to enable mouse scrolling. I have read pretty much all information on StackOverflow & Google to no avail.

like image 590
yarco Avatar asked Nov 19 '16 14:11

yarco


1 Answers

You're modifying the incorrect tmux config for byobu.

Add the following line to the file ~/.byobu/.tmux.conf

set-option -g mouse on

Press F5 to reload your byobu profile (or start a new session). With iTerm 2 "Report mouse wheel events" enabled (the default), you should be able to mouse scroll your byobu sessions.

like image 96
Druska Avatar answered Oct 24 '22 07:10

Druska