Handle SIGQUIT. Closes #503.

This commit is contained in:
Hisham 2016-05-30 15:06:22 -03:00
parent 5db1b0e9a0
commit 112db9a609
1 changed files with 1 additions and 0 deletions

1
CRT.c
View File

@ -599,6 +599,7 @@ void CRT_init(int delay, int colorScheme) {
signal(11, CRT_handleSIGSEGV);
#endif
signal(SIGTERM, CRT_handleSIGTERM);
signal(SIGQUIT, CRT_handleSIGTERM);
use_default_colors();
if (!has_colors())
CRT_colorScheme = 1;