]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- support for 256 colors.
authorwitekfl <witekfl@pld-linux.org>
Thu, 19 Feb 2009 20:10:06 +0000 (20:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pinfo-color.patch -> 1.1

pinfo-color.patch [new file with mode: 0644]

diff --git a/pinfo-color.patch b/pinfo-color.patch
new file mode 100644 (file)
index 0000000..f40ca0d
--- /dev/null
@@ -0,0 +1,11 @@
+--- pinfo-0.6.9/src/parse_config.c.stary       2009-02-19 20:48:09.000000000 +0100
++++ pinfo-0.6.9/src/parse_config.c     2009-02-19 20:51:32.000000000 +0100
+@@ -816,6 +816,8 @@ parse_line(char *line)
+                               *p = BOLD;
+                       else if (!(strncmp(temp, "NO_BLINK", 7)))
+                               *p = 0;
++                      else if (!(strncmp(temp, "COLOR", 5)))
++                              *p = atoi(temp + 5);
+                       else
+                               return 1;
+               }
This page took 0.033012 seconds and 4 git commands to generate.