Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question ( Scroll shell output with mouse in tmux ) already answers the base question of how to mouse-scroll UP in tmux, but this method also automatically exits copy mode once it detects a scroll down past the current screen. According to this answer this is expected behavior too!

This is very disorienting as you're brought right back to the bottom of your prompt once you scroll down, and is not the behavior I'm looking for. Is there any way to disable this?

share|improve this question
I do not see this behavior here. Which version of tmux and what terminal are you using? – Thor Sep 13 '12 at 8:33
@Thor I see this both in tmux 1.3 and 1.6, using iTerm2. I've updated the question to make it more clear - I think you should be seeing the same behavior. It's best to have a scrollback buffer of > 2 screens to see what I mean. – Suan Sep 14 '12 at 22:18
I see what you mean now, and I can reproduce with Iterm on OSX and rxvt-unicode on GNU/Linux. I don't think this is expected behavior, and might be a bug. The answer you refer to says that tmux should go out of copy-mode when the prompt is reached, at least to me, that means scroll all the way down first. – Thor Sep 14 '12 at 23:03
up vote 2 down vote accepted

This is fixed in the latest version of tmux (1.7). You can get it from

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .