[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.116 and 1.117

version 1.116, 2019/11/28 10:17:22 version 1.117, 2020/01/12 20:20:20
Line 1038 
Line 1038 
         cp = tmp;          cp = tmp;
         while ((next = strsep(&cp, ";")) != NULL) {          while ((next = strsep(&cp, ";")) != NULL) {
                 p[n] = strtoul(next, &endptr, 10);                  p[n] = strtoul(next, &endptr, 10);
                 if (*endptr != '\0' && *endptr != ';')                  if (*endptr != '\0')
                         p[n] = 0;                          p[n] = 0;
                 n++;                  n++;
         }          }
Line 1068 
Line 1068 
                 type = TTY_VT520;                  type = TTY_VT520;
                 break;                  break;
         }          }
         for (i = 2; i < n; i++)          for (i = 1; i < n; i++)
                 log_debug("%s: DA feature: %d", c->name, p[i]);                  log_debug("%s: DA feature: %d", c->name, p[i]);
         tty_set_type(tty, type);          tty_set_type(tty, type);
   

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.117