1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00

Fix issue 198 (#200)

This commit is contained in:
Jeff 2021-02-21 07:36:36 -08:00 committed by GitHub
parent 2951d16486
commit 809d7fdccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {