diff --git a/runtime/ui/key/binding.go b/runtime/ui/key/binding.go index 86971459..5d4605a3 100644 --- a/runtime/ui/key/binding.go +++ b/runtime/ui/key/binding.go @@ -65,7 +65,7 @@ func NewBindingFromConfig(gui *gocui.Gui, influence string, configKeys []string, if err != nil { return nil, err } - if keys != nil && len(keys) > 0 { + if len(keys) > 0 { parsedKeys = keys break }