mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Flush every local echo char
Flush stdout at every char in case it happens to be buffered.
This commit is contained in:
parent
39a8f63640
commit
fca5429ae7
1 changed files with 1 additions and 0 deletions
|
|
@ -535,6 +535,7 @@ static void optional_local_echo(char c)
|
||||||
if (!option.local_echo)
|
if (!option.local_echo)
|
||||||
return;
|
return;
|
||||||
print(c);
|
print(c);
|
||||||
|
fflush(stdout);
|
||||||
if (option.log)
|
if (option.log)
|
||||||
log_write(c);
|
log_write(c);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue