Thanks! But how does scrolling work in tmux then?
Alex Pilon <alp_AT_alexpilon.ca> writes:
> On Fri, Nov 17, 2017 at 10:39:10PM +0800, Amos Bird wrote:
>> when using tmux inside st, I can scroll up using mouse wheel.
>> However when
>> inside emacs, I can only scroll down. From `C-h k` I saw it
>> generates a `C-y`
>> when I scroll up. So what's going wrong?
>
> Nothing. It's working as intended. There is no native mouse
> wheel
> support in terminal applications, probably never will be any
> time soon.
>
> Mouse wheel events are translated to key presses. ^E and ^Y are
> for
> Vi/Vim/less. Change it in config.h to work with EMACS if you
> like.
--
Amos Bird
amosbird_AT_gmail.com
Received on Sat Nov 18 2017 - 07:22:27 CET