Scrollbar misrepresents file contents
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
Atm the scrollbar represents the overscroll aka. "scroll past last line" as file content, which is confusing, especially in smaller/shorter files. I'm not sure if this is also how other programs do it? Yes, it would be weird to scroll to the end of the scroll bar and then be able to scroll more, but the current situation is the worse one out of the two. This could be worked around with an option to turn off overscroll (#22 ).
Contributor 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.
Research direction
Start by reading issue #22 for the related overscroll context, then locate the code that calculates scrollbar position and overscroll in the terminal editor. Compare the scrollbar extent with the file's last line and determine the intended behavior. Done means the scrollbar no longer misleadingly represents scroll-past-end space, with behavior verified in short files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100