diff options
-rw-r--r-- | ranger/gui/displayable.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py index a7a0945d..9ca72b13 100644 --- a/ranger/gui/displayable.py +++ b/ranger/gui/displayable.py @@ -72,7 +72,6 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts): self.hei = 0 self.paryx = (0, 0) self.parent = None - self.fresh = True self._old_visible = self.visible @@ -155,7 +154,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts): def resize(self, y, x, hei=None, wid=None): """Resize the widget""" - do_move = self.fresh + do_move = True try: maxy, maxx = self.env.termsize except TypeError: @@ -213,7 +212,6 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts): except: pass - self.fresh = False self.paryx = self.win.getparyx() self.y, self.x = self.paryx if self.parent: |