diff --git a/cmd/micro/bindings.go b/cmd/micro/bindings.go index 721226dd..d8a0ede0 100644 --- a/cmd/micro/bindings.go +++ b/cmd/micro/bindings.go @@ -338,6 +338,10 @@ modSearch: } } + if len(k) == 0 { + return Key{buttons: -1}, false + } + // Control is handled specially, since some character codes in bindingKeys // are different when Control is depressed. We should check for Control keys // first.