summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-02 11:29:53 +0100
committerhut <hut@lavabit.com>2009-12-02 11:29:53 +0100
commit09bba8ddbe8af1cd6bf7dede1c6c7c53a01fc2a8 (patch)
treebd17b297f360a396760ab554f175d1e5db6d9c03
parent8b60e8caababb8342894f9e15c6e7630097741c0 (diff)
downloadranger-09bba8ddbe8af1cd6bf7dede1c6c7c53a01fc2a8.tar.gz
reduce ESCDELAY
-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)