mirror of
https://github.com/tmux/tmux.git
synced 2025-04-28 08:08:54 +00:00
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.
This commit is contained in:
parent
382e09bed1
commit
353439acee
2
tmux.h
2
tmux.h
@ -93,7 +93,7 @@ struct tmuxproc;
|
|||||||
/* Special key codes. */
|
/* Special key codes. */
|
||||||
#define KEYC_NONE 0xffff00000000ULL
|
#define KEYC_NONE 0xffff00000000ULL
|
||||||
#define KEYC_UNKNOWN 0xfffe00000000ULL
|
#define KEYC_UNKNOWN 0xfffe00000000ULL
|
||||||
#define KEYC_BASE 0x100000000000ULL
|
#define KEYC_BASE 0x000010000000ULL
|
||||||
|
|
||||||
/* Key modifier bits. */
|
/* Key modifier bits. */
|
||||||
#define KEYC_ESCAPE 0x200000000000ULL
|
#define KEYC_ESCAPE 0x200000000000ULL
|
||||||
|
Loading…
Reference in New Issue
Block a user