13
votes

I've got tmux to scroll up, with the mouse wheel, using mouse-mode on in tmux.conf (here's my entire conf).

But I've always had a problem scrolling back down again. Once the cursor hits the bottom of the screen, it immediately scrolls back to the bottom of the whole buffer, where the prompt is. It's not possible to scroll down a few lines in the same way I can scroll up a few lines. In other words, the whole middle section is only visible on the way up.

2
I've seen this behaviour too but only when I scroll too fast. I'm using an older MBP with two finger scrolling so maybe my scrolling is slower than your mouse scrolling? Try to go real slow and see if it helps. - three
It doesn't help unfortunately. - mahemoff
I added my lines to your gist - three
Thanks, just tried it but same as before. I guess the xterm mightn't do much anyway as I'm running this in iterm. - mahemoff
I'm in iterm too. Weird. - three

2 Answers

4
votes

I just upgraded from tmux 1.6 to the new tmux 1.8 (compiled from source rather than Homebrew, in case that matters), and it's working again now.

3
votes

What would happen if you turned mousemode off and used the keyboard? Try that. Have you used burningTyger's settings for your conf? Try deleting the buffer command, maybe then it won't autoscroll to the prompt line. If you can disable any automatic behavior you might be able to do what you need. I don't know the OSX terms, but hopefully these concepts might be helpful.