Skip to content

Commit 99750ef

Browse files
committed
Improve prompt input re-rendering, especially on UNIX systems
This change improves input prompt re-rendering in ConsoleReadLine in a couple of cases: 1. Where the line wraps. The new implementation is simpler and handles terminal resizing correctly. 2. On UNIX-based systems where escape characters are written for certain keypresses like ESC or Backspace. This change overwrites the characters written to the terminal in those cases so that there is no extra noise added to the input line.
1 parent 930e0a5 commit 99750ef

File tree

1 file changed

+153
-98
lines changed

1 file changed

+153
-98
lines changed

0 commit comments

Comments
 (0)