From 2dff50201a561623ca909998ee51ac10c24989d6 Mon Sep 17 00:00:00 2001 From: jomo Date: Thu, 7 Aug 2014 01:18:11 +0200 Subject: [PATCH] change highlight style. (underline hides parts of the next line) --- mentio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mentio.py b/mentio.py index df876d5..9bafdc3 100644 --- a/mentio.py +++ b/mentio.py @@ -41,7 +41,7 @@ def onChat(event): # join all color codes used upto this word colors = "".join(colors_reg.findall("".join(words[:index+1]))) # highlight the word containing mention, then apply all previous color codes - rec_words[index] = colorify("&r&a&n") + stripcolors(word) + colorify("&r") + colors + rec_words[index] = colorify("&r&a&o") + stripcolors(word) + colorify("&r") + colors # No need to break