mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +02:00
Fix shifted keys not matching shortcuts in kittens
Broke after keyboard refactoring for new keyboard protocol. Now a key event will match a shortcut specification if either the mods and key match or mods without shift and shifted key match. Fixes #3314
This commit is contained in:
@@ -50,8 +50,6 @@ character_key_name_aliases = {
|
||||
'LEFT_BRACKET': '[',
|
||||
'RIGHT_BRACKET': ']',
|
||||
}
|
||||
for x in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
|
||||
character_key_name_aliases[x] = x.lower()
|
||||
LookupFunc = Callable[[str, bool], Optional[int]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user