From 440c49b6eff41c8b774131b57928b9df52e31077 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 8 Oct 2012 13:25:04 -0400 Subject: [PATCH] Correct the ANSI highlights. --- irkerhook.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/irkerhook.py b/irkerhook.py index 369d5c9..17abef8 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -116,12 +116,12 @@ class GenericExtractor: self.brown = '\x035' self.reset = '\x0F' if style == 'ANSI': - self.bold = '\x1b[1m;' - self.green = '\x1b[1;2m;' - self.blue = '\x1b[1;4m;' - self.yellow = '\x1b[1;3m;' - self.brown = '\x1b[3m;' - self.reset = '\x1b[0m;' + self.bold = '\x1b[1m' + self.green = '\x1b[1;32m' + self.blue = '\x1b[1;34m' + self.yellow = '\x1b[1;33m' + self.brown = '\x1b[33m' + self.reset = '\x1b[0m' def load_preferences(self, conf): "Load preferences from a file in the repository root." if not os.path.exists(conf): -- 2.26.2