diff options
author | Thomas Adam <thomas@xteddy.org> | 2013-02-16 21:04:48 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2013-02-16 21:04:48 +0000 |
commit | 2ac1d46f467c75b5caa43409b280bc123b5824d8 (patch) | |
tree | 512f7cfb73e65cf8a80c8d1f84fcb27e785260d7 /tty-keys.c | |
parent | 77a217468507bc598e833bf15b4a1eaf7bbaf284 (diff) |
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.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |