Skip to content

Commit 6303c64

Browse files
committed
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.
1 parent b006c83 commit 6303c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gui/controllers/search_prompt_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func NewSearchPromptController(
2424
func (self *SearchPromptController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding {
2525
return []*types.Binding{
2626
{
27-
Key: opts.GetKey(opts.Config.Universal.Confirm),
27+
Key: gocui.KeyEnter,
2828
Modifier: gocui.ModNone,
2929
Handler: self.confirm,
3030
},

0 commit comments

Comments
 (0)