Flush every local echo char

Flush stdout at every char in case it
happens to be buffered.
This commit is contained in:
arichi 2019-05-13 23:52:23 +08:00
parent 39a8f63640
commit fca5429ae7

View file

@ -535,6 +535,7 @@ static void optional_local_echo(char c)
if (!option.local_echo)
return;
print(c);
fflush(stdout);
if (option.log)
log_write(c);
}