mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Force frequent sync on tty_flush()
This commit is contained in:
parent
2fb1963da2
commit
dd8b137b15
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ void tty_flush(int fd)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
tty_buffer_count -= count;
|
tty_buffer_count -= count;
|
||||||
|
fsync(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset
|
// Reset
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue