aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-14 08:51:49 +0000
committerGravatar jesopo2018-11-14 08:51:49 +0000
commitaafe0624b290c33f7db1567dc93511e6c24e296e (patch)
tree58a59cd2906acee58a0d0018a4f15cbb829263c4 /modules/github.py
parentAdd 375 data to server.motd_lines (diff)
signature
Do a bold+unbold *after* the colored parts of github's "added/removed/modified"
to avoid the weechat bolding bug but not bold the colors
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/github.py b/modules/github.py
index d398aa76..961ed79a 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -82,11 +82,11 @@ class Module(ModuleManager.BaseModule):
added = utils.irc.color("+%d" % len(commit["added"]),
utils.consts.GREEN)
- added = utils.irc.bold(added)
+ added = added+utils.irc.bold("")
removed = utils.irc.color("-%d" % len(commit["removed"]),
utils.consts.RED)
- removed = utils.irc.bold(removed)
+ removed = removed+utils.irc.bold("")
modified = utils.irc.color("±%d" % len(commit["modified"]),
utils.consts.PURPLE)