From 1ea86f6281b2ea4eaf65dc65757977cd06d7beef Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 31 Oct 2011 22:46:05 +0100 Subject: widgets.titlebar: Fix drawing of broken filenames --- ranger/gui/widgets/titlebar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit 1.4.1-2-gfad0