Skip to content

Conversation

chomosuke
Copy link
Contributor

When there's wrapped line, sometimes scroll_one_line scroll more than one graphical line, this causes relative_line to be recorded wrong.

This means that if you're dealing with files with a lot of very long lines, typing zz scrolls more than it should. Sometimes no matter how many times you type zz you never get the cursor to center, it simply oscillate as it overshoots every time.

simplescreenrecorder-2023-01-07_21.11.19-converted.mp4

This PR fixes that:

simplescreenrecorder-2023-01-07_21.12.36-converted.mp4

@karb94
Copy link
Owner

karb94 commented Jan 15, 2023

Thank you @chomosuke!

@karb94 karb94 merged commit d7601c2 into karb94:master Jan 15, 2023
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