summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)