-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll speed in tmux in terminal emulator is way too fast #18930
Comments
Does this happen in alacritty too? Zed uses alacritty as an underlying terminal library, so it might be an issue with its implementation or with our usage Edit: I've tested this and the bug is not present in alacritty |
Alacritty seems to behave okay here: CleanShot.2024-10-09.at.19.36.40.mp4 |
I have enabled Alternate Scroll Mode with Screen.Recording.2024-10-09.at.15.08.48.movI've tested with:
In System Preferences->Pointer Control I have the Scroll Speed set to 5/8 for the Trackpad Options and 3/8 for the mouse options, but those does not appear to impact the behavior of Zed. Steps I used to reproduce: run |
I've turned Alternate Scroll mode on and it does not seem to solve this problem, so it must be something else. I've looked into what events we are sending to alacritty, and so far was able to determine that for a scroll up we are sending Also, this is not a tmux-specific bug, as zellij has the same problem when scrolling |
Check for existing issues
Describe the bug / provide steps to reproduce it
When using the mouse wheel / trackpad to scroll up and down in the terminal in a tmux session with mouse mode enabled, scroll speed is way too fast, compared to a terminal emulator like WezTerm.
Environment
Zed: v0.156.0 (Zed Preview)
OS: macOS 15.0.1
Memory: 8 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Compare and contrast — same tmux session, from WezTerm (reasonable scroll speed) then Zed (way too fast):
CleanShot.2024-10-09.at.18.29.12.mp4
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: