diff options
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index afe8e13b..793f00af 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -274,10 +274,13 @@ class BrowserColumn(Pager): predisplay_right = [] predisplay_left = [] + infostring = self._draw_infostring_display(drawn, space) + space -= self._total_len(infostring) + predisplay_left = predisplay_left + self._draw_text_display(text, space) space = self.wid - self._total_len(predisplay_left) - self._total_len(predisplay_right) - predisplay_right = self._draw_infostring_display(drawn, space) + predisplay_right + predisplay_right = infostring + predisplay_right space = self.wid - self._total_len(predisplay_left) - self._total_len(predisplay_right) if space > 0: |