REPL cursor in big input 'stops' at top visible line
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 122k
- Forks
- 37.3k
- Ø Merge
- 4 T. 2 Std.
- Gemergte PRs (30 T.)
- 283
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne am REPL-Einstiegspunkt und reproduziere das Problem mit einer mehrzeiligen Eingabe, die höher als das Terminal ist, und drücke dann in der obersten sichtbaren Zeile Up. Verfolge, wie die Cursorbewegung und die Darstellung der sichtbaren Zeilen aktualisiert werden; abgeschlossen ist die Aufgabe, wenn sich die unteren Zeilen korrekt ändern, während sich der Cursor nach oben bewegt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, nodejs
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100