mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Do not check for a key again without an escape if only \033 is present.
This commit is contained in:
parent
fc41bf46ac
commit
65dd7345e0
@ -624,7 +624,7 @@ first_key:
|
||||
* If not a complete key, look for key with an escape prefix (meta
|
||||
* modifier).
|
||||
*/
|
||||
if (*buf == '\033') {
|
||||
if (*buf == '\033' && len > 1) {
|
||||
/* Look for a key without the escape. */
|
||||
n = tty_keys_next1(tty, buf + 1, len - 1, &key, &size, expired);
|
||||
if (n == 0) { /* found */
|
||||
|
Loading…
Reference in New Issue
Block a user