about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/ui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index fb6e9193..a04455ab 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -10,6 +10,10 @@ class UI():
 		self.widgets = []
 
 	def initialize(self):
+		# dunno if there's a better way for doing this:
+		import os
+		os.environ['ESCDELAY'] = '25'
+
 		self.win = curses.initscr()
 		self.win.leaveok(1)
 		self.win.keypad(1)