aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-04-02 02:52:18 +0200
committerjaseg <s@jaseg.de>2013-04-02 02:52:18 +0200
commit4879895154c594ab1dba20c02801e398419226a7 (patch)
treee840a3a2a0c0ecbb5a441180adc0304aa226dc51
parentbaf9ee4f3dfc4b7a98de3bf6c191693d098b5067 (diff)
downloadpixelterm-4879895154c594ab1dba20c02801e398419226a7.tar.gz
pixelterm-4879895154c594ab1dba20c02801e398419226a7.tar.bz2
pixelterm-4879895154c594ab1dba20c02801e398419226a7.zip
Remove trailing spaces
-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