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.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)
29 30 31 32 33
34
35
36