diff --git a/src/script.c b/src/script.c index b378b0699..a988e1017 100644 --- a/src/script.c +++ b/src/script.c @@ -206,6 +206,7 @@ suspend_parent(int signo, struct script_buf *output) } ttymode = TERM_RAW; /* FALLTHROUGH */ + case SIGSTOP: case SIGTSTP: /* Flush any remaining output to master tty. */ flush_output(output);