Improve scroll at bottom to support scrolling without focus#104
Improve scroll at bottom to support scrolling without focus#104sudo-tee merged 4 commits intosudo-tee:mainfrom
Conversation
|
Nice! I've also been a little annoyed when i've scrolled the view up (but not repositioned the cursor). My only suggestion is that I don't think |
f0b6b1d to
69fcb75
Compare
Yep that's easier to maintain and I could remove some manual reset 😄 thanks for the review! |
|
@guillaumeboehm One minor change. I would ask. There is a lot of uneeded comments in the MR. I usually try to put comments on things that are not obious. |
|
Thanks for fixing my nitpicking :) |
Took a shot at improving a bit the autoscroll logic, I'm using the mouse to scroll from time to time and the previous implementation was not supporting that.
I also added a config to always autoscroll, I felt like it could be useful. If you don't like it it's separated in its own commit.