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

pym/output.py

index f9c27ff9f55ee27450ed38a8b718e3dbdd685466..2336e0fc2507e42e65c96a55b8a964e033d84aa6 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"]