mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Send remainder of tty_buffer before exiting for piped input
This commit is contained in:
parent
8e6d77407e
commit
d1271c8612
1 changed files with 1 additions and 0 deletions
|
|
@ -2668,6 +2668,7 @@ int tty_connect(void)
|
|||
// Exit if piped input
|
||||
if (interactive_mode == false)
|
||||
{
|
||||
tty_sync(device_fd);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue