Treat SIGQUIT as immediate exit, remove from graceful shutdown

This aligns with common behavior in vim, nano, helix, weechat, etc.
This commit is contained in:
Andrea Mazzoleni 2026-02-08 15:46:24 +01:00
parent 43e46cf013
commit 345f9bf019

View file

@ -927,7 +927,6 @@ void signal_init(void)
sigaction(SIGHUP, &sa, 0);
sigaction(SIGTERM, &sa, 0);
sigaction(SIGINT, &sa, 0);
sigaction(SIGQUIT, &sa, 0);
#else
signal(SIGINT, signal_handler);
#endif