change highlight style. (underline hides parts of the next line)
This commit is contained in:
@@ -41,7 +41,7 @@ def onChat(event):
|
|||||||
# join all color codes used upto this word
|
# join all color codes used upto this word
|
||||||
colors = "".join(colors_reg.findall("".join(words[:index+1])))
|
colors = "".join(colors_reg.findall("".join(words[:index+1])))
|
||||||
# highlight the word containing mention, then apply all previous color codes
|
# 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
|
# No need to
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user