commit:     d26a4c6fab322e4310fad304258300e548384115
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 18:12:44 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon May  6 18:12:44 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d26a4c6f

libq/atom: use less emphasis on PVR

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 TODO.md     |  4 ++--
 libq/atom.c | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/TODO.md b/TODO.md
index 6fda56d..3333fd6 100644
--- a/TODO.md
+++ b/TODO.md
@@ -8,9 +8,9 @@
 
 - disable color when tty = NULL; may break less?
 
-- standardize/unify/clean up misc handling of colors
+- standardize/unify/clean up misc handling of colors (atom\_format)
   define rules:
-    BOLD CATEGORY/ BLUE PKG BKBLUE -VER YELLOW :SLOT GREEN ::REPO NORM [ 
MAGENTA USE NORM ]
+    BOLD CATEGORY/ BLUE PKG CYAN -VER YELLOW :SLOT GREEN ::REPO NORM [ MAGENTA 
USE NORM ]
 
 - remove odd rmspace for each string in libq/set.c (allows a lot less
   malloc/frees)

diff --git a/libq/atom.c b/libq/atom.c
index 4df76a6..0eaee5c 100644
--- a/libq/atom.c
+++ b/libq/atom.c
@@ -676,23 +676,23 @@ atom_format_r(
                                } else if (!strncmp("PV", fmt, len)) {
                                        if (showit || atom->PV)
                                                append_buf(buf, buflen, 
"%s%s%s",
-                                                               DKBLUE, 
HN(atom->PV), NORM);
+                                                               CYAN, 
HN(atom->PV), NORM);
                                } else if (!strncmp("PVR", fmt, len)) {
                                        if (showit || atom->PVR)
                                                append_buf(buf, buflen, 
"%s%s%s",
-                                                               DKBLUE, 
HN(atom->PVR), NORM);
+                                                               CYAN, 
HN(atom->PVR), NORM);
                                } else if (!strncmp("PF", fmt, len)) {
                                        append_buf(buf, buflen, "%s%s%s", BLUE, 
atom->PN, NORM);
                                        if (atom->PV)
                                                append_buf(buf, buflen, 
"%s-%s%s",
-                                                               DKBLUE, 
atom->PV, NORM);
+                                                               CYAN, atom->PV, 
NORM);
                                        if (atom->PR_int)
                                                append_buf(buf, 
buflen,"%s-r%d%s",
-                                                               DKBLUE, 
atom->PR_int, NORM);
+                                                               CYAN, 
atom->PR_int, NORM);
                                } else if (!strncmp("PR", fmt, len)) {
                                        if (showit || atom->PR_int)
                                                append_buf(buf, buflen, 
"%sr%d%s",
-                                                               DKBLUE, 
atom->PR_int, NORM);
+                                                               CYAN, 
atom->PR_int, NORM);
                                } else if (!strncmp("SLOT", fmt, len)) {
                                        if (showit || atom->SLOT)
                                                append_buf(buf, buflen, 
"%s%s%s%s%s%s%s",

Reply via email to