kdheepak / lazygit.nvim

Plugin for calling lazygit from within neovim.
MIT License
1.47k stars 53 forks source link

Bug: wrong cursor motion on mouse scroll in the right preview window #96

Closed linrongbin16 closed 1 year ago

linrongbin16 commented 1 year ago

Description

When opening lazygit window, I try to use mouse scroll down and view git diff on the right preview window.

But the behaviour is different with the terminal lazygit. The cursor just run away, and I have to re-open it.

To Reproduce

nvim config:

set mouse=a

Expected behavior

correct mouse scroll behaviour.

Screenshots

Desktop (please complete the following information):

macOS 13.4.1 (latest stable), M1 MAX chip.

linrongbin16 commented 1 year ago

I found this issue only appears on neovide, a GUI client of neovim, not on native terminal such as iterm2, alacritty.

So maybe this is an issue from neovide.