[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.61 and 1.62

version 1.61, 2013/10/10 11:57:52 version 1.62, 2014/02/10 11:20:41
Line 479 
Line 479 
                 goto partial_key;                  goto partial_key;
         }          }
   
           /* Look for matching key string and return if found. */
           tk = tty_keys_find(tty, buf, len, &size);
           if (tk != NULL) {
                   if (tk->next != NULL)
                           goto partial_key;
                   key = tk->key;
                   goto complete_key;
           }
   
         /* Try to parse a key with an xterm-style modifier. */          /* Try to parse a key with an xterm-style modifier. */
         switch (xterm_keys_find(buf, len, &size, &key)) {          switch (xterm_keys_find(buf, len, &size, &key)) {
         case 0:         /* found */          case 0:         /* found */
Line 487 
Line 496 
                 break;                  break;
         case 1:          case 1:
                 goto partial_key;                  goto partial_key;
         }  
   
         /* Look for matching key string and return if found. */  
         tk = tty_keys_find(tty, buf, len, &size);  
         if (tk != NULL) {  
                 if (tk->next != NULL)  
                         goto partial_key;  
                 key = tk->key;  
                 goto complete_key;  
         }          }
   
 first_key:  first_key:

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62