- support for 256 colors.
[packages/pinfo.git] / pinfo-color.patch
1 --- pinfo-0.6.9/src/parse_config.c.stary        2009-02-19 20:48:09.000000000 +0100
2 +++ pinfo-0.6.9/src/parse_config.c      2009-02-19 20:51:32.000000000 +0100
3 @@ -816,6 +816,8 @@ parse_line(char *line)
4                                 *p = BOLD;
5                         else if (!(strncmp(temp, "NO_BLINK", 7)))
6                                 *p = 0;
7 +                       else if (!(strncmp(temp, "COLOR", 5)))
8 +                               *p = atoi(temp + 5);
9                         else
10                                 return 1;
11                 }
This page took 0.047716 seconds and 3 git commands to generate.