summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-29 21:46:13 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-29 21:46:13 +0000
commitb13ef4d400786b3a88f1d8e9c3124c2e57585779 (patch)
treea92e02843308d7a3d8f40a53175aeb51810ffbb8
parent80d3c3e6fd8e1097f980e085a40cb49dd90ba4be (diff)
downloadportage-b13ef4d400786b3a88f1d8e9c3124c2e57585779.tar.gz
portage-b13ef4d400786b3a88f1d8e9c3124c2e57585779.tar.bz2
portage-b13ef4d400786b3a88f1d8e9c3124c2e57585779.zip
Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown.
svn path=/main/trunk/; revision=7094
-rw-r--r--pym/portage/output.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index 356f59e1b..2f64eaf60 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -113,7 +113,9 @@ codes["white"] = codes["0xFFFFFF"]
codes["lightgray"] = codes["0xAAAAAA"]
codes["darkteal"] = codes["turquoise"]
-codes["darkyellow"] = codes["brown"]
+# Some terminals have darkyellow instead of brown.
+codes["0xAAAA00"] = codes["brown"]
+codes["darkyellow"] = codes["0xAAAA00"]
codes["fuscia"] = codes["fuchsia"]
codes["white"] = codes["bold"]