diff options
author | hut <hut@lavabit.com> | 2009-12-02 11:29:53 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-12-02 11:29:53 +0100 |
commit | 09bba8ddbe8af1cd6bf7dede1c6c7c53a01fc2a8 (patch) | |
tree | bd17b297f360a396760ab554f175d1e5db6d9c03 /ranger | |
parent | 8b60e8caababb8342894f9e15c6e7630097741c0 (diff) | |
download | ranger-09bba8ddbe8af1cd6bf7dede1c6c7c53a01fc2a8.tar.gz |
reduce ESCDELAY
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/ui.py | 4 |
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) |