1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

Obtain branches in a more robust way. Begin refactor work on gitcommands

This commit is contained in:
Jesse Duffield
2018-08-10 21:33:49 +10:00
parent 3f89b5bf71
commit d08241b2ea
12 changed files with 221 additions and 178 deletions

2
gui.go
View File

@ -261,6 +261,8 @@ func run() (err error) {
}
defer g.Close()
g.FgColor = gocui.ColorMagenta
goEvery(g, time.Second*60, fetch)
goEvery(g, time.Second*10, refreshFiles)
goEvery(g, time.Millisecond*10, updateLoader)