Revert "vim-patch:8.1.0822: peeking and flushing output slows down execution"

This reverts commit 0519a75f6e.
This commit is contained in:
Jan Edmund Lazo
2020-12-31 15:40:18 -05:00
parent 27548e3cd0
commit b01a60b1aa
7 changed files with 14 additions and 29 deletions

View File

@@ -2490,10 +2490,8 @@ int inchar(
}
// Always flush the output characters when getting input characters
// from the user and not just peeking.
if (wait_time == -1L || wait_time > 10L) {
ui_flush();
}
// from the user.
ui_flush();
// Fill up to a third of the buffer, because each character may be
// tripled below.