changeset 129:2a1880d5d450

keys: don't lower() shortcuts anymore
author Goffi <goffi@goffi.org>
date Fri, 14 Jul 2017 08:31:10 +0200
parents 2a6b8742e44a
children 406c310e52b5
files urwid_satext/keys.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/urwid_satext/keys.py	Fri Jul 14 08:30:42 2017 +0200
+++ b/urwid_satext/keys.py	Fri Jul 14 08:31:10 2017 +0200
@@ -55,7 +55,7 @@
 
         if action in self:
             raise ConflictError("The action [{}] already exists".format(action))
-        return super(ActionMap, self).__setitem__(action, shortcut.lower())
+        return super(ActionMap, self).__setitem__(action, shortcut)
 
     def __delitem__(self, action):
         # we don't want to delete actions