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:
jesopo 2018-11-14 08:51:49 +00:00
parent 775177a7ff
commit aafe0624b2

View file

@ -82,11 +82,11 @@ class Module(ModuleManager.BaseModule):
added = utils.irc.color("+%d" % len(commit["added"]), added = utils.irc.color("+%d" % len(commit["added"]),
utils.consts.GREEN) utils.consts.GREEN)
added = utils.irc.bold(added) added = added+utils.irc.bold("")
removed = utils.irc.color("-%d" % len(commit["removed"]), removed = utils.irc.color("-%d" % len(commit["removed"]),
utils.consts.RED) utils.consts.RED)
removed = utils.irc.bold(removed) removed = removed+utils.irc.bold("")
modified = utils.irc.color("±%d" % len(commit["modified"]), modified = utils.irc.color("±%d" % len(commit["modified"]),
utils.consts.PURPLE) utils.consts.PURPLE)