Replies: 1 comment
-
I'm looking for this same thing. It's been a while since I've used tmux, but I'm pretty sure this is how it worked. With zellij, the muscle memory is killing me because I'll scroll back to somewhere that I'm interested in and then expect to be able to perform an action in scroll mode like scrolling line or page-wise, but instead, it just scrolls me all the way back to the prompt. I want mouse wheel actions to actually put zellij in scroll mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to automatically switch to
SCROLL
mode when scrolling with the mouse, or make bindings to mouse events (specifically the scroll wheel)? I'm guessing no because I can't find any such reference in the documentation or in issues/discussions... more context below.For scrolling, I believe the dedicated
SCROLL
mode is superior to theNORMAL
mode. So I've made some bindings like these, which work wonderfully:I also bind Escape to return to normal mode, which also scrolls to the bottom where the prompt is.
The mouse wheel will scroll the screen properly in either mode, but won't automatically switch modes. So, pressing Escape when scrolled up but in
NORMAL
mode will return the scroll position to the bottom, but will also send an escape sequence to the terminal.So then pressing the up arrow won't go through my history, but instead print the keycode to the terminal:
Beta Was this translation helpful? Give feedback.
All reactions