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 2713f06..2cc1553 100755
--- a/pixelterm.py
+++ b/pixelterm.py
@@ -53,7 +53,7 @@ def termify_pixels(img):
if colbot == coltop:
c,te,be = cf,te,te
out += te(coltop) + be(colbot) + c
- out += '\n'
+ out = out.rstrip() + '\n'
out += terminal256.EscapeSequence(fg=formatter._closest_color(0,0,0), bg=formatter._closest_color(0,0,0)).reset_string()
return out