aboutsummaryrefslogtreecommitdiff
path: root/termkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'termkey.h')
-rw-r--r--termkey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey.h b/termkey.h
index 6be5bfa..52ebc88 100644
--- a/termkey.h
+++ b/termkey.h
@@ -82,7 +82,7 @@ typedef int termkey_keysym;
typedef struct {
termkey_type type;
union {
- int codepoint; // TERMKEY_TYPE_UNICODE
+ long codepoint; // TERMKEY_TYPE_UNICODE
int number; // TERMKEY_TYPE_FUNCTION
termkey_keysym sym; // TERMKEY_TYPE_KEYSYM
} code;