From 433c6e524ef7608595a309968f5867cf7e799cc8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Jun 2007 21:47:14 +0000 Subject: Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown. (trunk r7094) svn path=/main/branches/2.1.2/; revision=7095 --- pym/output.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pym/output.py') diff --git a/pym/output.py b/pym/output.py index f9c27ff9f..2336e0fc2 100644 --- a/pym/output.py +++ b/pym/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"] -- cgit v1.2.3-1-g7c22