diff options
-rw-r--r-- | pw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -383,6 +383,7 @@ int main(int argc, char **argv) panic("unable to set TTY parameters"); setvbuf(tty, NULL, _IONBF, 0); + setvbuf(stdin, NULL, _IONBF, 0); for (unsigned stat = stat_dirty, hpos = 0, kbd_state = kbd_cmd, lasttime = ~0U; kbd_state != kbd_exit ;) |