From: Rick Gibbed Date: Tue, 9 Oct 2012 02:26:43 +0000 (-0400) Subject: Make the mIRC color highlighting bearable on ChatZila. X-Git-Tag: 1.10~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d4dcc3849f19f4b0e8752bf1a1db8564fab264f0;p=irker.git Make the mIRC color highlighting bearable on ChatZila. Signed-off-by: Eric S. Raymond --- diff --git a/irkerhook.py b/irkerhook.py index b7bc1de..33167ea 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -109,12 +109,16 @@ class GenericExtractor: def activate_color(self, style): "IRC color codes." if style == 'mIRC': - # mIRC colors are mapped as closely to the ANSI colors as possible. + # mIRC colors are mapped as closely to the ANSI colors as + # possible. However, bright colors (green, blue, red, + # yellow) have been made their dark counterparts since + # ChatZilla does not properly darken mIRC colors in the + # Light Motif color scheme. self.bold = '\x02' - self.green = '\x0309' - self.blue = '\x0312' - self.red = '\x0304' - self.yellow = '\x0308' + self.green = '\x0303' + self.blue = '\x0302' + self.red = '\x0305' + self.yellow = '\x0307' self.brown = '\x0305' self.magenta = '\x0306' self.cyan = '\x0310'