diff options
author | jaseg <s@jaseg.de> | 2013-04-06 13:14:05 +0200 |
---|---|---|
committer | jaseg <s@jaseg.de> | 2013-04-06 13:14:05 +0200 |
commit | e05209b92a247ced88584ef7a395046398328752 (patch) | |
tree | 36b69d60a938489a431451172ec601e1c198cac8 /pixelterm.py | |
parent | dfa3f22662aa0602e92371528174e19d987083e2 (diff) | |
download | pixelterm-e05209b92a247ced88584ef7a395046398328752.tar.gz pixelterm-e05209b92a247ced88584ef7a395046398328752.tar.bz2 pixelterm-e05209b92a247ced88584ef7a395046398328752.zip |
Fixed pixelterm rendering of parts where the lower pixel is transparent
Diffstat (limited to 'pixelterm.py')
-rwxr-xr-x | pixelterm.py | 2 |
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 |