1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

refactor how we handle different modes

This commit is contained in:
Jesse Duffield
2020-08-22 11:05:37 +10:00
parent b1529f19ad
commit fbd61fcd17
13 changed files with 124 additions and 105 deletions

View File

@@ -31,7 +31,7 @@ func (gui *Gui) handleCreateRecentReposMenu() error {
return err
}
gui.GitCommand = newGitCommand
gui.State.FilterPath = ""
gui.State.Modes.Filtering.Path = ""
return gui.Errors.ErrSwitchRepo
},
}