aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-11-04 14:47:38 +0000
committernicm <nicm>2016-11-04 14:47:38 +0000
commit353439aceeed6ab311a74fc38f15276f72c654a4 (patch)
tree057cd37f7cb2a878ef212293665f0d5711b02a75 /tmux.h
parent382e09bed1bcf83eed98a36afa15f7dc9de18e72 (diff)
downloadrtmux-353439aceeed6ab311a74fc38f15276f72c654a4.tar.gz
rtmux-353439aceeed6ab311a74fc38f15276f72c654a4.tar.bz2
rtmux-353439aceeed6ab311a74fc38f15276f72c654a4.zip
enum values need to fit in 32 bits; we only use enum for numbering and
Unicode characters fit in 24 bits, so we can leave key_code as 64 bits and change KEYC_BASE down to 0x10000000.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 1ec2d3ca..50527c10 100644
--- a/tmux.h
+++ b/tmux.h
@@ -93,7 +93,7 @@ struct tmuxproc;
/* Special key codes. */
#define KEYC_NONE 0xffff00000000ULL
#define KEYC_UNKNOWN 0xfffe00000000ULL
-#define KEYC_BASE 0x100000000000ULL
+#define KEYC_BASE 0x000010000000ULL
/* Key modifier bits. */
#define KEYC_ESCAPE 0x200000000000ULL