From aafe0624b290c33f7db1567dc93511e6c24e296e Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 14 Nov 2018 08:51:49 +0000 Subject: [PATCH] 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 --- modules/github.py | 4 ++-- 1 file 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)