about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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):