diff --git a/input.c b/input.c index 9807453..c14ad41 100644 --- a/input.c +++ b/input.c @@ -278,6 +278,7 @@ rl_gather_tyi (void) #endif if (result <= 0) return 0; /* Nothing to read. */ + chars_avail = 1; } #endif