mirror of
https://github.com/makew0rld/amfora.git
synced 2024-09-25 22:55:55 -04:00
Fix issue 198 (#200)
This commit is contained in:
parent
2951d16486
commit
809d7fdccb
@ -121,7 +121,7 @@ func parseBinding(cmd Command, binding string) {
|
||||
binding = binding[4:]
|
||||
}
|
||||
|
||||
if len(binding) == 1 {
|
||||
if len([]rune(binding)) == 1 {
|
||||
k = tcell.KeyRune
|
||||
r = []rune(binding)[0]
|
||||
} else if len(binding) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user