From 07044e5537be4647309eceff4a6ad7a2ee60adac Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 16 Jul 2019 19:46:06 -0400 Subject: [PATCH] a2m: supply missing foreground colors --- ASCII/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index c33c001..4355a30 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -1282,6 +1282,7 @@ class ASCII(callbacks.Plugin): return paste = "" self.stopped[msg.args[0]] = False + output = re.sub('(\x03(\d+).*)\x03,', '\g<1>\x03\g<2>,', output) for line in output.splitlines(): line = line.decode() if self.registryValue('pasteEnable', msg.args[0]):