Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals...
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)
svn path=/main/trunk/; revision=7094

pym/portage/output.py

index 356f59e1b1fddf1ed17366ebe8e9517e575392ac..2f64eaf60afa041cd804f88d0c9f22ad1d5e3818 100644 (file)
@@ -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"]