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

Fix width used for line numbers #1151

Merged
merged 1 commit into from
Mar 12, 2023
Merged

Fix width used for line numbers #1151

merged 1 commit into from
Mar 12, 2023

Conversation

joelim-work
Copy link
Collaborator

@joelim-work joelim-work commented Mar 11, 2023

To reproduce the issue:

  1. Ensure that you are in a directory containing exactly 10 files
  2. Start lf and enable the number option to display line numbers
  3. Navigate to the 10th file at the bottom
  4. Select the file using toggle

The select marker overlaps with the line number because there isn't enough space is allocated for it.

@gokcehan
Copy link
Owner

@joelim-work Nice catch, thanks.

@gokcehan gokcehan merged commit 0bf17dd into gokcehan:master Mar 12, 2023
@joelim-work joelim-work deleted the fix-number-width branch March 13, 2023 00:14
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