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:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user