mirror of https://github.com/tmux/tmux.git
Don't set key KEYC_NONE on xterm_keys_find match()
When calling xterm_keys_find(); if we get a complete match, don't set the key to unknown before calling the action to complete the binding; otherwise non-prefixed bindings will not work.pull/1/head
parent
77a2174685
commit
2ac1d46f46
|
@ -473,7 +473,6 @@ tty_keys_next(struct tty *tty)
|
|||
/* Try to parse a key with an xterm-style modifier. */
|
||||
switch (xterm_keys_find(buf, len, &size, &key)) {
|
||||
case 0: /* found */
|
||||
key = KEYC_NONE;
|
||||
goto complete_key;
|
||||
case -1: /* not found */
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue