1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

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.
This commit is contained in:
Stefan Haller
2025-08-15 17:38:27 +02:00
parent b006c83181
commit 6303c64232

View File

@@ -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,
},