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
This commit is contained in:
parent
775177a7ff
commit
aafe0624b2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue