img: don't process color for space character
This commit is contained in:
parent
8c30fd9c22
commit
51bc2d4e0e
|
|
@ -617,7 +617,7 @@ class ASCII(callbacks.Plugin):
|
|||
# get color value
|
||||
if 'nocolor' not in optlist:
|
||||
color = self.getAverageC(colormap[j][i].tolist(),speed)
|
||||
if color != old_color:
|
||||
if color != old_color and gsval != ' ':
|
||||
old_color = color
|
||||
# append ascii char to string
|
||||
if 'bg' not in optlist:
|
||||
|
|
|
|||
Loading…
Reference in New Issue