diff urwid_satext/keys.py @ 129:2a1880d5d450

keys: don't lower() shortcuts anymore
author Goffi <goffi@goffi.org>
date Fri, 14 Jul 2017 08:31:10 +0200
parents 00b012549f88
children 144bdf877d21
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