about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJeremy Cantrell <jmcantrell@gmail.com>2022-06-11 17:51:04 -0500
committerJeremy Cantrell <jmcantrell@gmail.com>2022-06-11 17:51:04 -0500
commit7ef07526784ac289a4991f52c918b5456164c7af (patch)
tree23943a42da440a5e826bcfff1a195bf75f0b1397
parentfb449326663baa91f5ce91b996778cfd5501030e (diff)
downloadranger-7ef07526784ac289a4991f52c918b5456164c7af.tar.gz
browsercolumn: Fix separator depth
It looks like the separator is being unexpectedly flattened by the list
concatenation.
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 1 insertions, 1 deletions
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)