2

I am using the below configuration - setw -g mouse on

to use mouse scrolling within tmux sessions.

However, I notice the scrolling is not as smooth as an the Terminal.

Is there any tweaking/configuration i need to apply in tmux config to make the user experience better?

1 Answer 1

1

Tmux runs in a terminal window - so scrolling can only be done line by line.

If it is that important to you and you are using a Mac you can try iTerm2. It has support to use tmux in control mode so I imagine scrolling would be done at the UI level (haven't tested it though).

For Linux look at this answer.

4
  • I'm using windows actually
    – Darshan L
    Commented Nov 12, 2020 at 13:52
  • @DarshanL You are on unix.stackexchange .. are you on WSL? See github.com/microsoft/terminal/issues/3656
    – laktak
    Commented Nov 12, 2020 at 13:54
  • Okay, actually I'm running tmux from windows, tmux server session is running on Linux
    – Darshan L
    Commented Nov 12, 2020 at 14:06
  • Beware: this will make iterm spawn many iterm windows (depending on number of tmux windows you have). Also, you won't be able to use tmux hotkeys any longer
    – Hritik
    Commented Sep 18, 2023 at 22:53

You must log in to answer this question.

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