summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/browsercolumn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 55be3569..a4ba7eea 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -273,8 +273,8 @@ class BrowserColumn(Pager):
 
             # If not enough space
             if space <= 2:
-                predisplay_right.clear()
-                predisplay_left.clear()
+                del predisplay_right[:]
+                del predisplay_left[:]
 
             infostring = self._draw_infostring_display(drawn, space)
             space -= self._total_len(infostring)