summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-07-15 16:18:16 +0100
committerpazz <patricktotzke@gmail.com>2011-07-15 16:18:16 +0100
commitce50794a257996b1ff6007eb03ef75696a085e9a (patch)
tree78c179268d8466ea5c60f88ac75cdf338ed3287e /alot/init.py
parent4b6fbded970444e2b130d4a44e9d0853a7c5ec74 (diff)
split promptwidget for later reuse
Diffstat (limited to 'alot/init.py')
-rwxr-xr-xalot/init.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/init.py b/alot/init.py
index 421b6a57..9217bfba 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -76,6 +76,8 @@ def main():
command_map['j'] = 'cursor down'
command_map['k'] = 'cursor up'
command_map[' '] = 'cursor page down'
+ command_map['enter'] = 'select'
+ command_map['esc'] = 'cancel'
# set up and start interface
ui = UI(dbman,