diff options
author | Jeremy Cantrell <jmcantrell@gmail.com> | 2022-06-11 17:51:04 -0500 |
---|---|---|
committer | Jeremy Cantrell <jmcantrell@gmail.com> | 2022-06-11 17:51:04 -0500 |
commit | 7ef07526784ac289a4991f52c918b5456164c7af (patch) | |
tree | 23943a42da440a5e826bcfff1a195bf75f0b1397 | |
parent | fb449326663baa91f5ce91b996778cfd5501030e (diff) | |
download | ranger-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.py | 2 |
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) |