diff options
author | hut <hut@lavabit.com> | 2010-03-08 18:17:11 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-08 19:06:38 +0100 |
commit | b0be0b379601719ad84d88569d58f7d31f5b17fe (patch) | |
tree | 49a62493cfe83904f8afe8a47c7eb308740a8097 /ranger | |
parent | 732b40127db11e691a4b3fff50d13e0188c9f778 (diff) | |
download | ranger-b0be0b379601719ad84d88569d58f7d31f5b17fe.tar.gz |
ui: fixed title drawing code
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/ui.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index c818f7e7..69acda4b 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -200,8 +200,7 @@ class UI(DisplayableContainer): cwd = self.fm.env.pwd.path except: cwd = ' - ranger' - sys.stdout.write("\033]2;" + hostname + \ - self.fm.env.pwd.path + "\007") + sys.stdout.write("\033]2;" + hostname + cwd + "\007") self.win.refresh() def finalize(self): |