mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
more centralised handling of refreshing
This commit is contained in:
parent
39315ca1e2
commit
198d237679
32 changed files with 189 additions and 126 deletions
|
@ -85,7 +85,7 @@ func (gui *Gui) handleDiscardOldFileChange(g *gocui.Gui, v *gocui.View) error {
|
|||
}
|
||||
}
|
||||
|
||||
return gui.refreshSidePanels(gui.g)
|
||||
return gui.refreshSidePanels(refreshOptions{mode: BLOCK_UI})
|
||||
})
|
||||
}, nil)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue