gruvbox-community / gruvbox

Retro groove color scheme for Vim - community maintained edition
MIT License
801 stars 62 forks source link

Scrolling breaks gruvbox #49

Closed rbong closed 5 years ago

rbong commented 5 years ago

Hello

I have a bug with gruvbox when scrolling with my mouse in vim.

Below is the same file when I use first: my mouse scrolling and second: PageDown. Mouse scrolling fails to "trigger gruvbox" somehow but I can't be more precise since I'm newbie with vim programming.

Does anyone know how to fix this?

Thanks Screenshot from 2019-03-20 10-00-25 Screenshot from 2019-03-20 10-03-25

:robot: This issue has been automatically copied from morhetz#267 :robot:

rbong commented 5 years ago

From the original issue:

It appears to be a terminal-specific drawing issue. That looks like your background not being drawn over by Vim. Vim only redraws parts of the terminal window when it needs to and certain terminals can throw it off.

You could try a few different different things. If this is something that doesn't happen often, the :redraw! command could clear it up. You could also set your terminal's background color to gruvbox's colors. Or, you could try a different terminal. This doesn't happen for me on alacritty, which is cross platform, so you may have luck with it.