aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index eddbdef739..2e2993ed26 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -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.