[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.24 and 1.25

version 1.24, 2009/11/26 22:26:51 version 1.25, 2009/11/30 16:44:03
Line 472 
Line 472 
                 goto partial_key;                  goto partial_key;
         }          }
   
   
         /* Not found. Try to parse a key with an xterm-style modifier. */          /* Not found. Try to parse a key with an xterm-style modifier. */
         key = xterm_keys_find(buf, len, &size);          switch (xterm_keys_find(buf, len, &size, &key)) {
         if (key != KEYC_NONE) {          case 0:         /* found */
                 evbuffer_drain(tty->event->input, size);                  evbuffer_drain(tty->event->input, size);
                 goto handle_key;                  goto handle_key;
           case -1:        /* not found */
                   break;
           case 1:
                   goto partial_key;
         }          }
   
         /* Skip the escape. */          /* Skip the escape. */

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25