6

Scrollability of text in some terminals:

       | tty | xterm | urxvt | guake | terminator
screen |  Y  |   Y   |   Y   |   Y   |     Y
tmux   |  N  |   N   |   Y   |   N   |     N

I notice in this answer that scrolling doesn't work when using tmux. But I can scroll in urxvt. How can I have that behaviour in other terminals?

phunehehe
  • 20,240

3 Answers3

5

Add set -g terminal-overrides "xterm*:smcup@:rmcup@" to your tmux config and restart tmux. If you are not using a terminal matching 'xterm*' you'll have to change it of course.

ThiefMaster
  • 2,337
  • Unfortunately this breaks tmux set-titles setting/feature: the terminals window title does not update anymore. – blueyed May 06 '14 at 13:22
0

Use tmux set -g mode-mouse on

I use an alias "tn" with this (having it as the default in my .tmux.conf didn't work for me, some issue, tl; dr;)

alias tn='tmux set -g mode-mouse on'
  • ran into this, and man pages mentioned it only loaded config file when server first starts, and suggested reloading the tmux.conf file with the source-file command. That worked for me and I can use config file as opposed to the alias trick here. – Alan Nov 19 '15 at 18:41
0

Try setting the alternate-screen setting to off.

Keith
  • 7,914
  • 1
  • 28
  • 29