1/2 block: allow top blocks only

This commit is contained in:
Gordon Shumway 2019-07-23 01:22:31 -04:00 committed by GitHub
parent fd5073fa14
commit f53ae9699e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -969,9 +969,9 @@ class ASCII(callbacks.Plugin):
old_color2 = color2
elif gsval == " " and color1 == old_color2:
aimg[k] += " "
elif gsval == "" and color1 == old_color2 and color2 == old_color1:
elif gsval == "" and color1 == old_color2 and color2 == old_color1 and 'tops' not in optlist:
aimg[k] += ""
elif gsval == "" and color1 == old_color2:
elif gsval == "" and color1 == old_color2 and 'tops' not in optlist:
aimg[k] += "\x03{0}".format(color2)
old_color1 = color2
elif color1 != old_color1 and color2 == old_color2: