From aa4892ccf483cb8da8fe59a318ce9251fdac4d23 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Apr 2006 10:22:42 +0000 Subject: Move some color mappings to ensure that they do not override the user defined color map. svn path=/main/trunk/; revision=3076 --- pym/output.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pym/output.py') diff --git a/pym/output.py b/pym/output.py index 46aab8f42..6884e504a 100644 --- a/pym/output.py +++ b/pym/output.py @@ -111,6 +111,11 @@ codes["turquoise"] = codes["0x55FFFF"] codes["white"] = codes["0xFFFFFF"] codes["lightgray"] = codes["0xAAAAAA"] +codes["darkteal"] = codes["turquoise"] +codes["darkyellow"] = codes["brown"] +codes["fuscia"] = codes["fuchsia"] +codes["white"] = codes["bold"] + def parse_color_map(): myfile = COLOR_MAP_FILE ansi_code_pattern = re.compile("^[0-9;]*m$") @@ -198,11 +203,6 @@ def resetColor(): def colorize(color_key, text): return codes[color_key] + text + codes["reset"] -codes["darkteal"] = codes["turquoise"] -codes["darkyellow"] = codes["brown"] -codes["fuscia"] = codes["fuchsia"] -codes["white"] = codes["bold"] - compat_functions_colors = ["bold","white","teal","turquoise","darkteal", "fuscia","fuchsia","purple","blue","darkblue","green","darkgreen","yellow", "brown","darkyellow","red","darkred"] -- cgit v1.2.3-1-g7c22