mahemoff
mahemoff

Reputation: 46369

How to mouse-wheel scroll downwards with tmux

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.

Upvotes: 13

Views: 2889

Answers (2)

mahemoff
mahemoff

Reputation: 46369

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.

Upvotes: 4

cuabanana
cuabanana

Reputation: 126

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.

Upvotes: 3

Related Questions