summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-15 00:36:30 +0100
committerhut <hut@lavabit.com>2013-03-15 00:36:30 +0100
commit948bb0360cf9b4190e742a9f56cff75be1d7742d (patch)
tree2b59c55e0a5d3a4d39c769bec3500d734a35583e /ranger
parentc3c895fe74966cf8e871bdafea73c59ef9c4559b (diff)
downloadranger-948bb0360cf9b4190e742a9f56cff75be1d7742d.tar.gz
ext.img_display.clear: adjust width
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/img_display.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index 75501f48..9f2fd316 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -93,7 +93,7 @@ def clear(start_x, start_y, width, height):
     cmd = "6;{x};{y};{w};{h}\n4;\n3;".format(
             x = start_x * fontw,
             y = start_y * fonth,
-            w = width * fontw,
+            w = (width + 1) * fontw,
             h = height * fonth)
 
     _w3mimgdisplay(cmd)