Fix handling of shift for KeyCode::Char

This commit is contained in:
Joscha 2023-04-29 00:52:40 +02:00
parent 9bc6931fae
commit 591807dd55
2 changed files with 22 additions and 13 deletions

View file

@ -28,12 +28,6 @@ Examples of key bindings:
- `"ctrl+alt+f3"`
- `["enter", "any+enter"]` (matches `enter` regardless of modifiers)
Available modifiers:
- `ctrl`
- `shift`
- `alt`
- `any` (matches as long as at least one modifier is pressed)
Available main keys:
- Any single character that can be typed
- `enter`, `esc`
@ -43,6 +37,12 @@ Available main keys:
- `home`, `end`, `pageup`, `pagedown`
- `f1`, `f2`, ...
Available modifiers:
- `shift` (must not be used with single characters)
- `ctrl`
- `alt`
- `any` (matches as long as at least one modifier is pressed)
## Config options
"#;