From 948bb0360cf9b4190e742a9f56cff75be1d7742d Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 15 Mar 2013 00:36:30 +0100 Subject: ext.img_display.clear: adjust width --- ranger/ext/img_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0