1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-09 13:47:11 +02:00

Made code ready to merge to master's latest commit

This commit is contained in:
mjarkk 2018-12-08 16:40:22 +01:00
parent cf5a85b80f
commit 270658fc00
2 changed files with 2 additions and 3 deletions

View File

@ -416,8 +416,7 @@ func (gui *Gui) pushWithForceFlag(g *gocui.Gui, v *gocui.View, force bool) error
} }
if err == nil { if err == nil {
_ = gui.closeConfirmationPrompt(g) _ = gui.closeConfirmationPrompt(g)
_ = gui.refreshCommits(g) _ = gui.refreshSidePanels(g)
_ = gui.refreshStatus(g)
} }
}() }()
return nil return nil

View File

@ -463,7 +463,7 @@ func (gui *Gui) Run() error {
}) })
} }
}() }()
gui.goEvery(g, time.Second*10, gui.refreshFiles) gui.goEvery(g, time.Second*2, gui.refreshFiles)
gui.goEvery(g, time.Millisecond*50, gui.updateLoader) gui.goEvery(g, time.Millisecond*50, gui.updateLoader)
gui.goEvery(g, time.Millisecond*50, gui.renderAppStatus) gui.goEvery(g, time.Millisecond*50, gui.renderAppStatus)