summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-07-03 02:06:40 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-07-03 02:06:40 +0200
commita99257ad9a2b0dc6a1190e6ca87863a7ec1973ea (patch)
tree50d02dd2d74de01b03afa27eb3e0fa6e0d01a7ed /src/core.py
parent13f885fb74593b6c50174f9bbb7dd279fc344239 (diff)
downloadpoezio-a99257ad9a2b0dc6a1190e6ca87863a7ec1973ea.tar.gz
poezio-a99257ad9a2b0dc6a1190e6ca87863a7ec1973ea.tar.bz2
poezio-a99257ad9a2b0dc6a1190e6ca87863a7ec1973ea.tar.xz
poezio-a99257ad9a2b0dc6a1190e6ca87863a7ec1973ea.zip
Key bindings \o/
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 52b783bb..671834e4 100644
--- a/src/core.py
+++ b/src/core.py
@@ -677,7 +677,8 @@ class Core(object):
"""
# curses.ungetch(0) # FIXME
while self.running:
- char_list = self.read_keyboard()
+ char_list = [common.replace_key_with_bound(key)\
+ for key in self.read_keyboard()]
# Special case for M-x where x is a number
if len(char_list) == 1:
char = char_list[0]