Line numbers aren't displayed correctly with line wrapping disabled
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 56/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- frontend
Research direction
Start by reproducing the issue with the three supplied settings, then inspect the line-number display and cursor movement entry points in Lem. Compare the displayed relative line numbers as the cursor moves with wrapping disabled; done when they remain correct. The issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
https://github.com/user-attachments/assets/c28bc7ce-4c25-4334-a391-5a4d65c184b3
To reproduce use these config:
(setf (variable-value 'line-wrap :global) nil)
(lem/line-numbers:toggle-line-numbers)
(setf lem/line-numbers:*relative-line* t)
And try to move the cursor any amount of lines down.
Specs:
Lem: https://github.com/lem-project/lem/commit/db85cfb10f8506bf9a645937fd6abcd7e4564ea2
SBCL 2.6.9-1.fc44
Fedora 44, Linux 7.2.11-200.fc44.x86_64
Sway 1.11
SDL2_ttf 2.24.0, SDL2_image 2.8.12
SDL2 library: sdl2-compat-2.32.74-1.fc44.x86_64
- Dominant language
- Common Lisp
- Stars
- 3.1k
- Forks
- 261
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 133
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lem-project/lem
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
lem-project/lem#2524 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
lem-project/lem#2488 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
lem-project/lem#2369 ·
Maintainers usually reply within 1 day
-
unix-paste-bugOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lem-project/lem#2360 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug discord triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day