diff options
author | hut <hut@lavabit.com> | 2011-10-31 22:46:05 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-31 22:46:05 +0100 |
commit | 1ea86f6281b2ea4eaf65dc65757977cd06d7beef (patch) | |
tree | d5403b4a28d7e4c77698f8049601456f727c3a12 /ranger | |
parent | 83c8d324492263c9aadc3098e1ebccc8d2dd1d91 (diff) | |
download | ranger-1ea86f6281b2ea4eaf65dc65757977cd06d7beef.tar.gz |
widgets.titlebar: Fix drawing of broken filenames
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/titlebar.py | 3 |
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() |