[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.104 and 1.105

version 1.104, 2018/10/18 08:04:14 version 1.105, 2018/10/28 15:34:27
Line 624 
Line 624 
          * If not a complete key, look for key with an escape prefix (meta           * If not a complete key, look for key with an escape prefix (meta
          * modifier).           * modifier).
          */           */
         if (*buf == '\033') {          if (*buf == '\033' && len > 1) {
                 /* Look for a key without the escape. */                  /* Look for a key without the escape. */
                 n = tty_keys_next1(tty, buf + 1, len - 1, &key, &size, expired);                  n = tty_keys_next1(tty, buf + 1, len - 1, &key, &size, expired);
                 if (n == 0) {   /* found */                  if (n == 0) {   /* found */

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105