From 09bba8ddbe8af1cd6bf7dede1c6c7c53a01fc2a8 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 2 Dec 2009 11:29:53 +0100 Subject: reduce ESCDELAY --- ranger/gui/ui.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit 1.4.1-2-gfad0