Skip to content

Commit ccb0905

Browse files
committed
Make rr ignore SIGWINCH to avoid it being delivered at inconvenient times during detach-teleport
`SIGWINCH` will be reenabled when we spawn any child, in `set_up_process`. Resolves #3885
1 parent 8ebb533 commit ccb0905

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RecordCommand.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ static void install_signal_handlers(void) {
592592
sigaction(SIGTRAP, &sa, nullptr);
593593
sigaction(SIGTTIN, &sa, nullptr);
594594
sigaction(SIGTTOU, &sa, nullptr);
595+
sigaction(SIGWINCH, &sa, nullptr);
595596
}
596597

597598
static void setup_session_from_flags(RecordSession& session,

0 commit comments

Comments
 (0)