4

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?

3
  • I do not see this behavior here. Which version of tmux and what terminal are you using?
    – Thor
    Sep 13, 2012 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, 2012 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, 2012 at 23:03

1 Answer 1

2

This is fixed in the latest version of tmux (1.7). You can get it from http://tmux.sourceforge.net/

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.