diff --git a/docs/changelog.rst b/docs/changelog.rst index 9ec65d660..e0e8180b5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -24,6 +24,8 @@ To update |kitty|, :doc:`follow the instructions `. - icat kitten: Fix display of JPEG images that are rotated via EXIF data and larger than available screen size (:iss:`3949`) +- macOS: Fix SIGUSR1 quitting kitty instead of reloading the config file (:iss:`3952`) + 0.23.1 [2021-08-17] ---------------------- diff --git a/kitty/loop-utils.c b/kitty/loop-utils.c index cf4a9dc65..6b2aff67d 100644 --- a/kitty/loop-utils.c +++ b/kitty/loop-utils.c @@ -106,7 +106,7 @@ install_signal_handlers(LoopData *ld) { signal_write_fd = ld->signal_fds[1]; struct sigaction act = {.sa_handler=handle_signal}; #define SA(which) { if (sigaction(which, &act, NULL) != 0) return false; if (siginterrupt(which, false) != 0) return false; } - SA(SIGINT); SA(SIGTERM); SA(SIGCHLD); + SA(SIGINT); SA(SIGTERM); SA(SIGCHLD); SA(SIGUSR1); #undef SA ld->signal_read_fd = ld->signal_fds[0]; #endif