summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-03-08 12:23:18 -0300
committerHisham <hisham@gobolinux.org>2016-03-08 12:23:18 -0300
commitf295a52ed9981232b5b97906dba952016f52449b (patch)
tree504322a84d951852c109f61377a346969d7960ca
parente2ccc7b2408dc4e0b99f7b5446465bea9db0a23e (diff)
Avoid overlapping key values defined by curses.
Closes #438.
-rw-r--r--CRT.c2
-rw-r--r--CRT.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/CRT.c b/CRT.c
index 673e9512..314a70ac 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) + (x - 'A')
}*/
diff --git a/CRT.h b/CRT.h
index ba10699e..8753da76 100644
--- a/CRT.h
+++ b/CRT.h
@@ -115,7 +115,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) + (x - 'A')
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];

© 2014-2024 Faster IT GmbH | imprint | privacy policy