Local echo: show character by character even if stdout buffered.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
Henner Zeller 2020-05-25 19:59:20 -07:00
parent 39a8f63640
commit 31dccd6633

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);
}