Skip to content
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

Cancel intertial scroll when changing between primary/alt screen #3845

Open
mitchellh opened this issue Dec 29, 2024 · 0 comments
Open

Cancel intertial scroll when changing between primary/alt screen #3845

mitchellh opened this issue Dec 29, 2024 · 0 comments

Comments

@mitchellh
Copy link
Contributor

Discussed in #3838

Originally posted by ComplexPlane December 28, 2024
I noticed that when using a Macbook trackpad's inertial scrolling inside a TUI application, if a scroll is started and then the app is quit right after, the scroll inertia carries over to the scrollback buffer. This happens specifically for me when scrolling up (fingers moving down) in a Lazygit window and then hitting q. This doesn't seem to happen in Kitty so I guess it's preventable?

Ghostty

Screen.Recording.2024-12-28.at.9.19.22.PM.mov

Kitty

Screen.Recording.2024-12-28.at.9.22.58.PM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant