=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.237 retrieving revision 1.238 diff -c -r1.237 -r1.238 *** src/usr.bin/tmux/server-client.c 2017/05/31 11:00:00 1.237 --- src/usr.bin/tmux/server-client.c 2017/06/06 15:49:35 1.238 *************** *** 1,4 **** ! /* $OpenBSD: server-client.c,v 1.237 2017/05/31 11:00:00 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server-client.c,v 1.238 2017/06/06 15:49:35 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 816,822 **** struct timeval tv; struct key_table *table, *first; struct key_binding bd_find, *bd; ! int xtimeout; struct cmd_find_state fs; /* Check the client is good to accept input. */ --- 816,822 ---- struct timeval tv; struct key_table *table, *first; struct key_binding bd_find, *bd; ! int xtimeout, flags; struct cmd_find_state fs; /* Check the client is good to accept input. */ *************** *** 913,918 **** --- 913,919 ---- server_status_client(c); return; } + flags = c->flags; retry: /* Log key table. */ *************** *** 990,996 **** * No match in the root table either. If this wasn't the first table * tried, don't pass the key to the pane. */ ! if (first != table) { server_client_set_key_table(c, NULL); server_status_client(c); return; --- 991,997 ---- * No match in the root table either. If this wasn't the first table * tried, don't pass the key to the pane. */ ! if (first != table && (~flags & CLIENT_REPEAT)) { server_client_set_key_table(c, NULL); server_status_client(c); return;