From dd5c31657ee934c52f24fd77778c56468d668b45 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 21 Feb 2021 11:57:38 +0100 Subject: spawn/slave: restore signal mask after fork slave: no need to restore signal handlers; they are automatically restored as long as they are not SIG_IGN (which they never are in foot). spawn(): restore signal mask after fork. This fixes an issue where a terminal spawned with ctrl+shift+n did not terminate when its shell exited. Closes #366 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index ab3524a0..a430a660 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,8 @@ `shift` to be pressed while used in a mouse grabbing application. This meant the mouse event was never seen by the application. +* Terminals spawned with `ctrl`+`shift`+`n` not terminating when + exiting shell (https://codeberg.org/dnkl/foot/issues/366). ### Security -- cgit v1.3