Add user-keys option to allow user-defined keys to be set, from Dan

Aloni.
This commit is contained in:
nicm
2017-06-23 15:36:52 +00:00
parent a67df17763
commit 95ed7d48c8
6 changed files with 50 additions and 3 deletions

4
tmux.h
View File

@ -87,6 +87,10 @@ struct tmuxproc;
#define KEYC_NONE 0xffff00000000ULL
#define KEYC_UNKNOWN 0xfffe00000000ULL
#define KEYC_BASE 0x000010000000ULL
#define KEYC_USER 0x000020000000ULL
/* Available user keys. */
#define KEYC_NUSER 1000
/* Key modifier bits. */
#define KEYC_ESCAPE 0x200000000000ULL