Skip to content

fix: not updating when window scrolled #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Bekaboo
Copy link
Contributor

@Bekaboo Bekaboo commented Sep 25, 2024

The rendering is not updated when the window is scrolled while the cursor is fixed (can be reproduces using <C-y>, <C-e>, zz, zt, zb to scroll the window). This leaves new elements that becomes visible in current window undecorated.

To fix this simply add 'WinScrolled' event to the updating events.

\#\# Details

The rendering is not updated when the window is scrolled while the
cursor is fixed (can be reproduces using `<C-y>`, `<C-e>`, `zz`, `zt`,
`zb` to scroll the window). This leaves new elements that becomes
visible in current window undecorated.

To fix this simply add 'WinScrolled' event to the updating events.
@MeanderingProgrammer
Copy link
Owner

Thank you!

@MeanderingProgrammer MeanderingProgrammer merged commit 37f52f0 into MeanderingProgrammer:main Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants