diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-11-04 14:47:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-11-04 14:47:39 +0000 |
commit | 1b8e027a2bc22ba6a78c586610d225df762f0987 (patch) | |
tree | 77849be1ae6c1229123bee4a5e3796730e22b82b /usr.bin | |
parent | d868fee1c73331896a2d7b09771055d68d2eba3d (diff) |
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 'usr.bin')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index e2f1814b1a9..496a8463e74 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.674 2016/10/19 09:22:07 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.675 2016/11/04 14:47:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 |