Commit 38d53d6
committed
repl: fix screen refresh in multiline viewport overflow
When multiline REPL input exceeds the terminal height, navigating
the cursor would move the cursor position correctly but fail to
refresh the screen properly, leaving stale content visible.
This implements viewport-based rendering in kRefreshLine() that
displays only the visible portion of input centered around the
cursor position when content exceeds terminal height.1 parent 3e1e1d0 commit 38d53d6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
| 556 | + | |
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| |||
0 commit comments