From 6303c6423215f1a353d400d03e9b2b59c274c805 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Fri, 15 Aug 2025 17:38:27 +0200 Subject: [PATCH] Hard-code "enter" for search prompt Like with the previous commit, it doesn't make sense to use any other key than enter for the search prompt. --- pkg/gui/controllers/search_prompt_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/controllers/search_prompt_controller.go b/pkg/gui/controllers/search_prompt_controller.go index 65dd23383..9eca74c90 100644 --- a/pkg/gui/controllers/search_prompt_controller.go +++ b/pkg/gui/controllers/search_prompt_controller.go @@ -24,7 +24,7 @@ func NewSearchPromptController( func (self *SearchPromptController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding { return []*types.Binding{ { - Key: opts.GetKey(opts.Config.Universal.Confirm), + Key: gocui.KeyEnter, Modifier: gocui.ModNone, Handler: self.confirm, },