aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-06-23 15:36:52 +0000
committernicm <nicm>2017-06-23 15:36:52 +0000
commit95ed7d48c84198da0ec4b1b9b5de9358a47da753 (patch)
tree5b6515359ef39b43aae547292172ce20a17e160b /tmux.h
parenta67df177634f5ff3f6a24598d4016f61a794af62 (diff)
downloadrtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.tar.gz
rtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.tar.bz2
rtmux-95ed7d48c84198da0ec4b1b9b5de9358a47da753.zip
Add user-keys option to allow user-defined keys to be set, from Dan
Aloni.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e8f75aff..ef68c66b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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