This is a bug, try this.

You will still have to wait for escape-time to expire before anything
happens though.

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;



On Fri, Mar 15, 2013 at 10:15:14AM -0700, Kyel Woodard wrote:
>    Hello,
>    I'm trying to Alt+Left Bracket with bind -n "M-[" in my tmux.conf. I can
>    bind Alt-Right Bracket with bind -n "M-]" just fine.
> 
>    I'm guessing that something is eating my input before it get's to tmux,
>    but I can't find out what. Is there any way for me to tell if tmux is
>    actually getting the input?
> 
>    Let me know if there's anything I need to test.
> 
>    Thanks!

> ------------------------------------------------------------------------------
> 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-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
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-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to