-
What Operating System(s) are you running on?Linux Wayland Which Wayland compositor or X11 Window manager(s) are you using?GNOME 45 + wayland WezTerm version20240128-202157-1e552d76 Ask your question!The default behavior when scroll use mouse wheel is too quickly for me, what i expected is a more slowly, smoothly experiences, just like konsole. I could not found the docs for this, there is no scrolling event list on default-mouse-assignments, but when i disable all mouse event use Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Just faced the same! For me it scrolls the page way too high in a single scroll up. I can see actions to set scroll amount, but no binding for mouse scroll. There's middle down but that's obviously not it. |
Beta Was this translation helpful? Give feedback.
-
I just encountered this myself, but found out how to modify it: local act = wezterm.action
-- Change mouse scroll amount
config.mouse_bindings = {
{
event = { Down = { streak = 1, button = { WheelUp = 1 } } },
mods = 'NONE',
action = act.ScrollByLine(-3),
},
{
event = { Down = { streak = 1, button = { WheelDown = 1 } } },
mods = 'NONE',
action = act.ScrollByLine(3),
},
} This scrolls by 3 lines up and down, which it turns out was what my previous terminal was doing. I found the |
Beta Was this translation helpful? Give feedback.
-
🤔 This doesn't seem to work for me on MacOS. The problem I have is that Wezterm (and some other apps, depending) have weird scroll issues as MacOS touchpad software is a bit janky sometimes. Can I also disable left/right mouse scroll (this is a touchpad), as it seems a bit too sensitive with less, etc. Normal wezterm scrollback touchpad scrolling up/down is fine (eg scrolling outside of a pager). |
Beta Was this translation helpful? Give feedback.
I just encountered this myself, but found out how to modify it:
This scrolls by 3 lines up and down, which it turns out was what my previous terminal was doing.
I found the
ScrollByLine
action in the KeyAssignment part of the documentation. There are others there, likeScrollByPage
,ScrollToTop
andScrollToBottom
which are interesting as well.