Skip to content
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

Bound cursor position after terminal resize #1290

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Bound cursor position after terminal resize #1290

merged 1 commit into from
Jun 8, 2023

Conversation

joelim-work
Copy link
Collaborator

It's possible for the cursor position to end up outside the bounds of the navigation panes if the terminal window is resized. To reproduce, open lf in a directory containing a lot of files, scroll down to the bottom, and then decrease the terminal window height.

Copy link
Collaborator

@ilyagr ilyagr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Works great for me.

@gokcehan gokcehan merged commit 07cf7dd into gokcehan:master Jun 8, 2023
@joelim-work joelim-work deleted the boundpos-on-resize branch June 8, 2023 14:51
@gokcehan gokcehan mentioned this pull request Sep 17, 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.

3 participants