From 93601b17cfea3264b07c11cf9bbac44bf027181a Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 10 May 2012 23:35:57 +0200 Subject: widgets.browsercolumn: Fix drawing of stuff in right column --- ranger/gui/widgets/browsercolumn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 8af7157a..ab2e1c05 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -315,6 +315,8 @@ class BrowserColumn(Pager): padding -= 1 infostring = (" " * padding) + infostring display_data.append([infostring, attr]) + else: + display_data.append([" " * max(0, self.wid - len(wtext)), attr]) self.execute_curses_batch(line, display_data) -- cgit 1.4.1-2-gfad0