Yes, the <ScrollWheel*><x,y> is needed and it means <ScrollWheel*><col,line>, otherwise scrolling with the mouse over a different window scrolls the window at line scroll_y and column scroll_x. (Given that it mostly produces numbers ∈ [-3, 3], the 1st window gets scrolled instead of the :hovered window).
Hello :)
Yes, the
<ScrollWheel*><x,y>
is needed and it means<ScrollWheel*><col,line>
, otherwise scrolling with the mouse over a different window scrolls the window at linescroll_y
and columnscroll_x
. (Given that it mostly produces numbers ∈[-3, 3]
, the 1st window gets scrolled instead of the :hovered window).(Actually, exactly the same you did in https://github.com/rhysd/neovim-component/blob/master/src/neovim/screen-drag.ts#L22)