[BACK]Return to tty-keys.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tty-keys.c between version 1.57 and 1.58

version 1.57, 2013/03/25 11:36:25 version 1.58, 2013/03/25 11:44:16
Line 498 
Line 498 
                 goto complete_key;                  goto complete_key;
         }          }
   
   first_key:
         /* Is this a meta key? */          /* Is this a meta key? */
         if (len >= 2 && buf[0] == '\033') {          if (len >= 2 && buf[0] == '\033') {
                 if (buf[1] != '\033') {                  if (buf[1] != '\033') {
Line 518 
Line 519 
                 }                  }
         }          }
   
 first_key:  
         /* No key found, take first. */          /* No key found, take first. */
         key = (u_char) *buf;          key = (u_char) *buf;
         size = 1;          size = 1;

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58