REPL cursor in big input 'stops' at top visible line
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 122k
- Forks
- 37.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 283
Description
Version
v25.0.0-pre
Subsystem
repl
What steps will reproduce the bug?
When working with multiline inputs that have more lines than the terminal heights (in lines), moving all to the top of the big input causes the current lower part of the input to be rendered at all times. The cursor effectively moves up, the lower lines just stay the same instead of changing.
This happens when pressing up at the top visible line.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
The lines are changed.
What do you see instead?
Wrong cursor movement.
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 at the REPL entry point and reproduce the issue with a multiline input taller than the terminal, then press Up at the top visible line. Trace how cursor movement and visible-line rendering are updated; done means the lower lines change correctly as the cursor moves upward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100