fix: matching of alt+shift+ keybindings on windows
This commit is contained in:
parent
072d418672
commit
750bed8a9c
1 changed files with 4 additions and 0 deletions
|
@ -578,6 +578,10 @@ const BindingSet = struct {
|
|||
else => event.modifiers,
|
||||
};
|
||||
|
||||
//normalize to lowercase for binding matching (input is done via `text`)
|
||||
if (event.key >= 'A' and event.key <= 'Z')
|
||||
event.key = event.key - 'A' + 'a';
|
||||
|
||||
if (event.event == input.event.release)
|
||||
return self.process_key_release_event(event);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue