aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpixelterm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixelterm.py b/pixelterm.py
index 7882f61..74e003f 100755
--- a/pixelterm.py
+++ b/pixelterm.py
@@ -70,7 +70,7 @@ def termify_pixels(img):
#Da magicks: ▀█▄
c,cf = '▀','█'
te,be = fgescape,bgescape
- if coltop == (0,0,0,0) or coltop == bg or colbot == fg:
+ if coltop == (0,0,0,0) or ((coltop == bg or colbot == fg) and not colbot == (0,0,0,0)):
c,cf,te,be = '▄',' ',be,te
if colbot == coltop:
c,te,be = cf,te,te