about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorDavid Gurevich <david@gurevich.ca>2019-11-11 20:27:34 -0500
committerDavid Gurevich <david@gurevich.ca>2019-11-11 20:27:34 -0500
commit482fced9722857e9a08da69b0ad00a174208d7d5 (patch)
tree9292f2a0921d877b04a6bbca2c27bf4807d640c3 /ranger
parent28f3d0144b8371ca5ccb85e18d5936f39ce4ca17 (diff)
downloadranger-482fced9722857e9a08da69b0ad00a174208d7d5.tar.gz
Fixed issue with W3MImgPreview not clearing previous image
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/img_display.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index 7e911848..591ba9e7 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -208,6 +208,7 @@ class W3MImageDisplayer(ImageDisplayer, FileManagerAware):
         )
 
         try:
+            self.fm.ui.win.redrawwin()
             self.process.stdin.write(cmd)
         except IOError as ex:
             if ex.errno == errno.EPIPE: