about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-08 18:17:11 +0100
committerhut <hut@lavabit.com>2010-03-08 19:06:38 +0100
commitb0be0b379601719ad84d88569d58f7d31f5b17fe (patch)
tree49a62493cfe83904f8afe8a47c7eb308740a8097
parent732b40127db11e691a4b3fff50d13e0188c9f778 (diff)
downloadranger-b0be0b379601719ad84d88569d58f7d31f5b17fe.tar.gz
ui: fixed title drawing code
-rw-r--r--ranger/gui/ui.py3
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):