summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-05 15:33:32 +0100
committerhut <hut@lavabit.com>2013-02-05 15:33:32 +0100
commitb11e6ec0ea2376dfd56da65e4931e1cfa355937d (patch)
tree1b08cb4155027cd7d36fdd240ab7116316f87510 /ranger
parent8e0e42a540d74c1f04d5497278099bce049a261d (diff)
downloadranger-b11e6ec0ea2376dfd56da65e4931e1cfa355937d.tar.gz
gui.ui: Flush stdout after setting tmux title
This fixes the bug that when using python3, the title is only set after
exiting ranger.
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/ui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 78dab9de..f01b7b17 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -88,6 +88,7 @@ class UI(DisplayableContainer):
 
 		if self.settings.update_tmux_title:
 			sys.stdout.write("\033kranger\033\\")
+			sys.stdout.flush()
 
 	def suspend(self):
 		"""Turn off curses"""