mirror of
https://github.com/makew0rld/amfora.git
synced 2024-11-10 13:29:56 +03:00
Support for Shift mod keybinds (#269)
This commit is contained in:
parent
969f4f91d9
commit
762e2d606a
@ -130,6 +130,11 @@ func parseBinding(cmd Command, binding string) {
|
||||
binding = binding[4:]
|
||||
}
|
||||
|
||||
if strings.HasPrefix(binding, "Shift-") {
|
||||
m += tcell.ModShift
|
||||
binding = binding[6:]
|
||||
}
|
||||
|
||||
if len([]rune(binding)) == 1 {
|
||||
k = tcell.KeyRune
|
||||
r = []rune(binding)[0]
|
||||
|
Loading…
Reference in New Issue
Block a user