summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-05-10 23:35:57 +0200
committerhut <hut@lavabit.com>2012-05-10 23:35:57 +0200
commit93601b17cfea3264b07c11cf9bbac44bf027181a (patch)
treeecc6d56c283942c1c782f239d0f3090439245e96 /ranger
parent10a0fb465c27fbb41249ee763aa2fc8fe98adbb5 (diff)
downloadranger-93601b17cfea3264b07c11cf9bbac44bf027181a.tar.gz
widgets.browsercolumn: Fix drawing of stuff in right column
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 2 insertions, 0 deletions
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)