Buffer scroll events that are less than one WHEEL_DELTA. That way scrolling speed is independent from the number of scroll events sent. This makes scrolling smooth on a touchpad while still keeping mouse wheel scrolling the same (at least for mouse wheels that scroll in increments of WHEEL_DELTA, mouse wheels that scroll smoothly were probably too sensitive before and will be helped by this change).
With this patch the scrolling behavior becomes similar to Windows Terminal. The scroll amount is still determined by Neovim's mousescroll variable.
Buffer scroll events that are less than one WHEEL_DELTA. That way scrolling speed is independent from the number of scroll events sent. This makes scrolling smooth on a touchpad while still keeping mouse wheel scrolling the same (at least for mouse wheels that scroll in increments of WHEEL_DELTA, mouse wheels that scroll smoothly were probably too sensitive before and will be helped by this change).
With this patch the scrolling behavior becomes similar to Windows Terminal. The scroll amount is still determined by Neovim's
mousescroll
variable.