summary refs log tree commit diff stats
path: root/ranger/gui/widgets/browsercolumn.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/widgets/browsercolumn.py')
-rw-r--r--ranger/gui/widgets/browsercolumn.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 1cb943d2..981dd8fb 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -97,7 +97,10 @@ class BrowserColumn(Pager):
 		Example:
 		execute_curses_batch(0, [["hello ", 0], ["world", curses.A_BOLD]])
 		"""
-		self.win.move(line, 0)
+		try:
+			self.win.move(line, 0)
+		except:
+			return
 		for entry in commands:
 			text, attr = entry
 			self.addstr(text, attr)