The branch, master has been updated
       via  2ac1d46f467c75b5caa43409b280bc123b5824d8 (commit)
      from  77a217468507bc598e833bf15b4a1eaf7bbaf284 (commit)

- Log -----------------------------------------------------------------
commit 2ac1d46f467c75b5caa43409b280bc123b5824d8
Author: Thomas Adam <tho...@xteddy.org>
Commit: Thomas Adam <tho...@xteddy.org>

    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.
---
 tty-keys.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tty-keys.c b/tty-keys.c
index bcb582e..1ede061 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -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;


-----------------------------------------------------------------------

Summary of changes:
 tty-keys.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to