summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-31 22:46:05 +0100
committerhut <hut@lavabit.com>2011-10-31 22:46:05 +0100
commit1ea86f6281b2ea4eaf65dc65757977cd06d7beef (patch)
treed5403b4a28d7e4c77698f8049601456f727c3a12 /ranger
parent83c8d324492263c9aadc3098e1ebccc8d2dd1d91 (diff)
downloadranger-1ea86f6281b2ea4eaf65dc65757977cd06d7beef.tar.gz
widgets.titlebar: Fix drawing of broken filenames
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/titlebar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py
index 6b92ccfa..3ca3f80d 100644
--- a/ranger/gui/widgets/titlebar.py
+++ b/ranger/gui/widgets/titlebar.py
@@ -160,5 +160,6 @@ class TitleBar(Widget):
 		self.win.move(0, 0)
 		for part in result:
 			self.color(*part.lst)
-			self.addstr(str(part))
+			y, x = self.win.getyx()
+			self.addstr(y, x, str(part))
 		self.color_reset()