Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell! - st - Simple Terminal
Log
Files
Refs
README
LICENSE
---
commit fc2b3669682eaf571fc96762bd3c8e48bccac989
parent 3c6ec1995d8ec4d8d5da7ca81d15adfdb08086aa
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 13 Dec 2012 20:57:15 +0100

Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell!

Diffstat:
  st.c                                |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
@@ -2728,7 +2728,7 @@ kmap(KeySym k, uint state) {
                         break;
         }
         if(i == LEN(mappedkeys)) {
-                if((k & 0xFFFF) < 0xFF00)
+                if((k & 0xFFFF) < 0xFD00)
                         return NULL;
         }