summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-19 07:07:23 +0100
committerhut <hut@lavabit.com>2013-02-19 07:07:23 +0100
commitb389735d681a26114377b747fe3a8fe1d3effd51 (patch)
tree13fffa957f864eb48fdbe27efe22eb2fd366bc92 /ranger
parent162679bf1193df783a796ac9ca6981ebf58bcc1f (diff)
downloadranger-b389735d681a26114377b747fe3a8fe1d3effd51.tar.gz
gui.ui: clear image when opening taskview/pager
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/ui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 1025166e..5760090c 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -321,6 +321,7 @@ class UI(DisplayableContainer):
         self.browser.visible = True
 
     def open_pager(self):
+        self.browser.columns[-1].clear_image(force=True)
         if self.console.focused:
             self.console.focused = False
         self.pager.open()
@@ -351,6 +352,7 @@ class UI(DisplayableContainer):
         self.close_pager()
 
     def open_taskview(self):
+        self.browser.columns[-1].clear_image(force=True)
         self.pager.close()
         self.pager.visible = False
         self.pager.focused = False