From 31b71b67011fa52f091df6fe536a11d6d0bfb256 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 25 Jul 2016 18:25:28 +0200 Subject: Imported Upstream version 2.0.2 --- CRT.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CRT.c') diff --git a/CRT.c b/CRT.c index 673e951..0d51698 100644 --- a/CRT.c +++ b/CRT.c @@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn)); void CRT_handleSIGSEGV(int sgn); -#define KEY_ALT(x) KEY_F(60) + (x - 'A') +#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A')) }*/ @@ -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; -- cgit v1.2.3