Update of /cvsroot/tmux/tmux
In directory vz-cvs-2.sog:/tmp/cvs-serv18220

Modified Files:
        tmux.h xterm-keys.c 
Log Message:
|PatchSet 871
|Date: 2011/03/27 21:31:25
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Don't include meta twice when working out the flags to output for
|xterm-style keys - bit 3 is accepted on input but not on output. Also a
|style nit in the header.



Index: tmux.h
===================================================================
RCS file: /cvsroot/tmux/tmux/tmux.h,v
retrieving revision 1.613
retrieving revision 1.614
diff -u -d -r1.613 -r1.614
--- tmux.h      6 Apr 2011 22:16:33 -0000       1.613
+++ tmux.h      6 Apr 2011 22:17:33 -0000       1.614
@@ -106,7 +106,7 @@
 #define KEYC_SHIFT 0x8000
 #define KEYC_PREFIX 0x10000
 
-/* Mask to obtain key w/o modifiers */
+/* Mask to obtain key w/o modifiers. */
 #define KEYC_MASK_MOD (KEYC_ESCAPE|KEYC_CTRL|KEYC_SHIFT|KEYC_PREFIX)
 #define KEYC_MASK_KEY (~KEYC_MASK_MOD)
 

Index: xterm-keys.c
===================================================================
RCS file: /cvsroot/tmux/tmux/xterm-keys.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- xterm-keys.c        3 Jan 2011 23:32:04 -0000       1.8
+++ xterm-keys.c        6 Apr 2011 22:17:33 -0000       1.9
@@ -174,8 +174,6 @@
                modifiers += 2;
        if (key & KEYC_CTRL)
                modifiers += 4;
-       if (key & KEYC_ESCAPE)
-               modifiers += 8;
 
        /*
         * If the key has no modifiers, return NULL and let it fall through to


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to