diff --git a/unix/uxpty.c b/unix/uxpty.c index 5ae1acca..57b3308f 100644 --- a/unix/uxpty.c +++ b/unix/uxpty.c @@ -678,6 +678,7 @@ void pty_real_select_result(Pty *pty, int event, int status) seat_stdout(pty->seat, message, strlen(message)); } + seat_eof(pty->seat); seat_notify_remote_exit(pty->seat); } }