Send remainder of tty_buffer before exiting for piped input

This commit is contained in:
Pier-Luc Thériault 2025-12-30 14:07:34 -05:00
parent 8e6d77407e
commit d1271c8612

View file

@ -2668,6 +2668,7 @@ int tty_connect(void)
// Exit if piped input
if (interactive_mode == false)
{
tty_sync(device_fd);
exit(EXIT_SUCCESS);
}