From ccb0905e6792a9bbabf308e3a431a30d3704944e Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Sat, 14 Dec 2024 14:35:23 +1300 Subject: [PATCH] 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 --- src/RecordCommand.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RecordCommand.cc b/src/RecordCommand.cc index 581be8a5b88..b9d23add1b1 100644 --- a/src/RecordCommand.cc +++ b/src/RecordCommand.cc @@ -592,6 +592,7 @@ static void install_signal_handlers(void) { sigaction(SIGTRAP, &sa, nullptr); sigaction(SIGTTIN, &sa, nullptr); sigaction(SIGTTOU, &sa, nullptr); + sigaction(SIGWINCH, &sa, nullptr); } static void setup_session_from_flags(RecordSession& session,