1/2 block: no full blocks in top-block mode

This commit is contained in:
Gordon Shumway 2019-07-24 02:19:16 -04:00 committed by GitHub
parent 9bb37cf7fc
commit 9dc12474e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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