RMichelsen / Nvy

Nvy - A Neovim client in C++
MIT License
332 stars 28 forks source link

Fix scrolloff #90

Closed Zorbn closed 1 year ago

Zorbn commented 1 year ago

Fixes #44.

It turns out ScrollRegion was only handling the first of any messages sent to it. This should have caused more issues than it did, but it looks like it's not common for Neovim to send multiple at a time.

The scrolloff issue wasn't visible with line numbers enabled because in that case more grid_line messages were sent to update the problematic lines (due to their line numbers changing), masking the issue.

RMichelsen commented 1 year ago

Thanks a lot for your time debugging this issue. Merging!