1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-27 00:51:18 +02:00

reset state on each Run() call

This commit is contained in:
Jesse Duffield
2020-03-29 10:35:12 +11:00
parent a8db672ffb
commit d90d9d7330
4 changed files with 15 additions and 5 deletions

View File

@ -32,6 +32,7 @@ func (gui *Gui) handleCreateRecentReposMenu(g *gocui.Gui, v *gocui.View) error {
return err
}
gui.GitCommand = newGitCommand
gui.State.FilterPath = ""
return gui.Errors.ErrSwitchRepo
},
}