aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2018-07-16 08:48:22 +0000
committernicm <nicm>2018-07-16 08:48:22 +0000
commit0d88f8a78bc0d91ab6fa53c9109f7316bfe5ffbb (patch)
tree8e177b235f513cb521e21f194bbd84125e706d53 /tmux.h
parentff67ef945dd9b93b7d62ea1ec8077d86f3c57d12 (diff)
downloadrtmux-0d88f8a78bc0d91ab6fa53c9109f7316bfe5ffbb.tar.gz
rtmux-0d88f8a78bc0d91ab6fa53c9109f7316bfe5ffbb.tar.bz2
rtmux-0d88f8a78bc0d91ab6fa53c9109f7316bfe5ffbb.zip
Add an "Any" key to run a command if a key is pressed that is not bound
in the current key table. GitHub issue 1404.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index aaafd2e7..e71f9481 100644
--- a/tmux.h
+++ b/tmux.h
@@ -136,6 +136,9 @@ enum {
KEYC_FOCUS_IN = KEYC_BASE,
KEYC_FOCUS_OUT,
+ /* "Any" key, used if not found in key table. */
+ KEYC_ANY,
+
/* Paste brackets. */
KEYC_PASTE_START,
KEYC_PASTE_END,