mirror of
https://github.com/tmux/tmux.git
synced 2025-04-25 22:45:04 +00:00
Check prefix when retrying so it is checked while repeat flag is
set. GitHub issue 1239.
This commit is contained in:
parent
623f4b12d3
commit
e97daead43
@ -907,6 +907,7 @@ server_client_handle_key(struct client *c, key_code key)
|
||||
* The prefix always takes precedence and forces a switch to the prefix
|
||||
* table, unless we are already there.
|
||||
*/
|
||||
retry:
|
||||
key0 = (key & ~KEYC_XTERM);
|
||||
if ((key0 == (key_code)options_get_number(s->options, "prefix") ||
|
||||
key0 == (key_code)options_get_number(s->options, "prefix2")) &&
|
||||
@ -917,7 +918,6 @@ server_client_handle_key(struct client *c, key_code key)
|
||||
}
|
||||
flags = c->flags;
|
||||
|
||||
retry:
|
||||
/* Log key table. */
|
||||
if (wp == NULL)
|
||||
log_debug("key table %s (no pane)", table->name);
|
||||
|
Loading…
Reference in New Issue
Block a user