summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--ranger/gui/displayable.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/TODO b/TODO
index 98d459d7..020ac20a 100644
--- a/TODO
+++ b/TODO
@@ -72,7 +72,7 @@ Bugs
    (X) #65  10/02/16  "source ranger ranger some/file.txt" shouldn't cd after exit
    (X) #67  10/03/08  terminal title in tty
    (X) #69  10/03/11  tab-completion breaks with Apps subclass
-   ( ) #73  10/03/21  when clicking on the first column, it goes 1x down
+   (X) #73  10/03/21  when clicking on the first column, it goes 1x down
    (X) #74  10/03/21  console doesn't scroll
 
 
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index ceefb3f1..88a78b37 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -72,6 +72,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 		self.hei = 0
 		self.paryx = (0, 0)
 		self.parent = None
+		self.fresh = True
 
 		self._old_visible = self.visible
 
@@ -154,7 +155,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 
 	def resize(self, y, x, hei=None, wid=None):
 		"""Resize the widget"""
-		do_move = False
+		do_move = self.fresh
 		try:
 			maxy, maxx = self.env.termsize
 		except TypeError:
@@ -212,6 +213,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 			except:
 				pass
 
+			self.fresh = False
 			self.paryx = self.win.getparyx()
 			self.y, self.x = self.paryx
 			if self.parent: