diff options
| author | 2018-09-19 01:42:28 +0100 | |
|---|---|---|
| committer | 2018-09-19 02:22:30 +0100 | |
| commit | f3d8d35083b6e1f2cff424522615c6dc6afad5aa (patch) | |
| tree | f6390d770b3a23f5f4ecae7561539a0b2655bc50 /modules | |
| parent | Actually remove channels from channel_save when the bot leaves the channel (diff) | |
| signature | ||
Send a FONT_RESET (\x0F) after stderr module names because a bug in weechat
pre-2.2 means that because red colors are displayed as red+bold, the second
FONT_COLOR (\x03) only resets the red coloring, not the bold, meaning the rest
of the line is bold.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py index 436dd7f1..74488ee7 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -38,11 +38,11 @@ class Out(object): class StdOut(Out): def prefix(self): return "%s%s%s" % (Utils.color(Utils.COLOR_GREEN), - self.module_name, Utils.FONT_COLOR) + self.module_name, Utils.FONT_RESET) class StdErr(Out): def prefix(self): return "%s!%s%s" % (Utils.color(Utils.COLOR_RED), - self.module_name, Utils.FONT_COLOR) + self.module_name, Utils.FONT_RESET) class Module(object): def __init__(self, bot, events, exports): |
