1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

support toggling collapsed

This commit is contained in:
Jesse Duffield
2021-03-14 20:18:06 +11:00
parent 64217a8a5b
commit a31db3df9c
5 changed files with 71 additions and 26 deletions

View File

@ -378,7 +378,7 @@ func (gui *Gui) resetState() {
}
gui.State = &guiState{
StatusLineManager: &StatusLineManager{Files: make([]*models.File, 0), Log: gui.Log, TreeMode: true},
StatusLineManager: NewStatusLineManager(make([]*models.File, 0), gui.Log),
Commits: make([]*models.Commit, 0),
FilteredReflogCommits: make([]*models.Commit, 0),
ReflogCommits: make([]*models.Commit, 0),