diff options
Diffstat (limited to 'config/bindings.go')
-rw-r--r-- | config/bindings.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/bindings.go b/config/bindings.go index 084ed589..39b50cea 100644 --- a/config/bindings.go +++ b/config/bindings.go @@ -50,7 +50,12 @@ func (bindings *KeyBindings) GetBinding( continue } for i, stroke := range input { - if stroke != binding.Input[i] { + if stroke.Key != binding.Input[i].Key { + goto next + } + if stroke.Key == tcell.KeyRune && + stroke.Rune != binding.Input[i].Rune { + goto next } } |