diff options
author | hut <hut@lavabit.com> | 2013-02-19 07:04:55 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-19 07:04:55 +0100 |
commit | 162679bf1193df783a796ac9ca6981ebf58bcc1f (patch) | |
tree | 6e2c49be82836eb511addc6e2ad5809feadde3a0 /ranger | |
parent | 7dcc0dd0fd56cfc5b1bb7bcc3de08f9166492d60 (diff) | |
download | ranger-162679bf1193df783a796ac9ca6981ebf58bcc1f.tar.gz |
widgets.browserview: clear image when drawing bookmarks etc
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/browserview.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py index 7d48eb59..e0a2275e 100644 --- a/ranger/gui/widgets/browserview.py +++ b/ranger/gui/widgets/browserview.py @@ -170,6 +170,7 @@ class BrowserView(Widget, DisplayableContainer): self.addch(self.hei - 1, right_end, curses.ACS_LRCORNER) def _draw_bookmarks(self): + self.columns[-1].clear_image(force=True) self.fm.bookmarks.update_if_outdated() self.color_reset() self.need_clear = True @@ -194,6 +195,7 @@ class BrowserView(Widget, DisplayableContainer): self.win.chgat(ystart - 1, 0, curses.A_UNDERLINE) def _draw_info(self, lines): + self.columns[-1].clear_image(force=True) self.need_clear = True hei = min(self.hei - 1, len(lines)) ystart = self.hei - hei @@ -207,6 +209,7 @@ class BrowserView(Widget, DisplayableContainer): i += 1 def _draw_hints(self): + self.columns[-1].clear_image(force=True) self.need_clear = True hints = [] for k, v in self.fm.ui.keybuffer.pointer.items(): |