The branch, master has been updated
       via  c7d1849e1cef5a14c2ef8852ef156c10437a902e (commit)
      from  7f191c7951e54f635fc55a4c409bef3060eaacfb (commit)

- Log -----------------------------------------------------------------
commit c7d1849e1cef5a14c2ef8852ef156c10437a902e
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>

    Process ^[ as meta when a partial key is found.
---
 tty-keys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tty-keys.c b/tty-keys.c
index fab8c3f..d86d22c 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -498,6 +498,7 @@ tty_keys_next(struct tty *tty)
                goto complete_key;
        }
 
+first_key:
        /* Is this a meta key? */
        if (len >= 2 && buf[0] == '\033') {
                if (buf[1] != '\033') {
@@ -518,7 +519,6 @@ tty_keys_next(struct tty *tty)
                }
        }
 
-first_key:
        /* No key found, take first. */
        key = (u_char) *buf;
        size = 1;


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

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


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to