From 7ef07526784ac289a4991f52c918b5456164c7af Mon Sep 17 00:00:00 2001 From: Jeremy Cantrell Date: Sat, 11 Jun 2022 17:51:04 -0500 Subject: browsercolumn: Fix separator depth It looks like the separator is being unexpectedly flattened by the list concatenation. --- ranger/gui/widgets/browsercolumn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 0a3dc928..8c166bbb 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -399,7 +399,7 @@ class BrowserColumn(Pager): # pylint: disable=too-many-instance-attributes infostringlen = self._total_len(infostring) if space - infostringlen > 2: sep = [" ", []] if predisplay_right else [] - predisplay_right = infostring + sep + predisplay_right + predisplay_right = infostring + [sep] + predisplay_right space -= infostringlen + len(sep) textstring = self._draw_text_display(text, space) -- cgit 1.4.1-2-gfad0