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

Diff for /src/usr.bin/tmux/colour.c between version 1.18 and 1.19

version 1.18, 2019/06/27 15:17:41 version 1.19, 2020/08/25 11:35:32
Line 189 
Line 189 
                         return (-1);                          return (-1);
                 return (n | COLOUR_FLAG_256);                  return (n | COLOUR_FLAG_256);
         }          }
           if (strncasecmp(s, "color", (sizeof "color") - 1) == 0) {
                   n = strtonum(s + (sizeof "color") - 1, 0, 255, &errstr);
                   if (errstr != NULL)
                           return (-1);
                   return (n | COLOUR_FLAG_256);
           }
   
         if (strcasecmp(s, "default") == 0)          if (strcasecmp(s, "default") == 0)
                 return (8);                  return (8);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19