Correct the ANSI highlights.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 8 Oct 2012 17:25:04 +0000 (13:25 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 8 Oct 2012 17:25:04 +0000 (13:25 -0400)
irkerhook.py

index 369d5c92ab1289f4341f03110cde34cbdc32146b..17abef8d0e501d1d6568c411964eb6d3d02834b6 100755 (executable)
@@ -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):