a2m: supply missing foreground colors

This commit is contained in:
Gordon Shumway 2019-07-16 19:46:06 -04:00 committed by GitHub
parent 3a5a6e389a
commit 07044e5537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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]):