diff options
author | hut <hut@lavabit.com> | 2010-04-18 19:31:16 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-18 19:31:16 +0200 |
commit | e0bc0ff6017ccf4fb55ed400266161d4c0131435 (patch) | |
tree | dc5ca24216b0c62130ef9ea94a9931767945b844 /ranger | |
parent | 11eef58aebfec5ea3fe8c3c3b55e19a4a227da11 (diff) | |
download | ranger-e0bc0ff6017ccf4fb55ed400266161d4c0131435.tar.gz |
gui.ui: fixed <C-c> key
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 3ac45ebe..a2a54d9e 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -190,9 +190,9 @@ class UI(DisplayableContainer): curses.flushinp() else: # Handle simple key presses, CTRL+X, etc here: - if self.settings.flushinput: - curses.flushinp() if key > 0: + if self.settings.flushinput: + curses.flushinp() if key == curses.KEY_MOUSE: self.handle_mouse() elif key == curses.KEY_RESIZE: |