mouse wheel isn't scrolling in tmux

scroll, tmux, ubuntu-11.10

Solution

Correct command is:

set -g mode-mouse on

You can also add it to your ~/.tmux.conf

Problem

It scrolls ok in vim but not in tmux. I followed suggestions like adding ``` set -g history-limit 1000 set -g terminal-overrides 'xterm*:smcup@:rmcup@' setw -g mode-mouse on set-window-option -g mode-mouse on ``` to `.tmux.conf` but none of them helped All I get, regardless of the above is history command scrolling.

Original source

Related problems