mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
resetting controllers on new repo
This commit is contained in:
@ -124,7 +124,7 @@ func (gui *Gui) handleCreateDiffingMenuPanel() error {
|
||||
OnPress: func() error {
|
||||
return gui.c.Prompt(types.PromptOpts{
|
||||
Title: gui.c.Tr.LcEnteRefName,
|
||||
FindSuggestionsFunc: gui.helpers.suggestions.GetRefsSuggestionsFunc(),
|
||||
FindSuggestionsFunc: gui.helpers.Suggestions.GetRefsSuggestionsFunc(),
|
||||
HandleConfirm: func(response string) error {
|
||||
gui.State.Modes.Diffing.Ref = strings.TrimSpace(response)
|
||||
return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC})
|
||||
|
Reference in New Issue
Block a user