summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-21 16:04:18 +0000
committernicm <nicm@openbsd.org>2017-04-21 16:04:18 +0000
commit21e32f741c6e047cf3097186ec1e0588841b7013 (patch)
treee4eeb475822288599af02912e3ed8b4dd2ecc79d /usr.bin/tmux/tmux.h
parentMore unnecessary arguments now winlink points back to session. (diff)
downloadwireguard-openbsd-21e32f741c6e047cf3097186ec1e0588841b7013.tar.xz
wireguard-openbsd-21e32f741c6e047cf3097186ec1e0588841b7013.zip
It is annoying that the copy mode key table (or any other key table)
will suppress root key table bindings. So change to always check the root table if no binding is found in the current table (whether it be the prefix table from pressing the prefix or the copy mode table from a pane). A root key binding can be blocked by binding the key to a command that does nothing (like send-keys with no arguments). Problem reported by Thomas Sattler.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 70fdc5a751d..655070d9bcf 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.746 2017/04/21 14:09:44 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.747 2017/04/21 16:04:18 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1847,7 +1847,6 @@ void server_client_set_identify(struct client *);
void server_client_clear_identify(struct client *, struct window_pane *);
void server_client_set_key_table(struct client *, const char *);
const char *server_client_get_key_table(struct client *);
-int server_client_is_default_key_table(struct client *);
int server_client_check_nested(struct client *);
void server_client_handle_key(struct client *, key_code);
void server_client_create(int);