summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-21 19:33:07 +0000
committernicm <nicm@openbsd.org>2017-04-21 19:33:07 +0000
commit2974176a4b8aebcccdc0917bef0810edd29a95d6 (patch)
treef04c4c469ebe7c4fa3309d6a1b30e7885fbf728c /usr.bin/tmux/server-client.c
parentCast the result of the __swapXX macros to the proper type. (diff)
downloadwireguard-openbsd-2974176a4b8aebcccdc0917bef0810edd29a95d6.tar.xz
wireguard-openbsd-2974176a4b8aebcccdc0917bef0810edd29a95d6.zip
Key needs to be initialized to zero now it has flags in it.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 08b4b11f4b0..d14900a166d 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.224 2017/04/21 17:22:20 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.225 2017/04/21 19:33:07 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -900,6 +900,8 @@ retry:
log_debug("key table %s (no pane)", table->name);
else
log_debug("key table %s (pane %%%u)", table->name, wp->id);
+ if (c->flags & CLIENT_REPEAT)
+ log_debug("currently repeating");
/* Try to see if there is a key binding in the current table. */
bd_find.key = key;