mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup
This commit is contained in:
parent
b322ecbdcf
commit
f454bdaa3a
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ ssize_t tty_write(int fd, const void *buffer, size_t count)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Flush tty buffer if too full
|
// Force write of tty buffer if too full
|
||||||
if ((tty_buffer_count + count) > BUFSIZ)
|
if ((tty_buffer_count + count) > BUFSIZ)
|
||||||
{
|
{
|
||||||
tty_sync(fd);
|
tty_sync(fd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue