1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 11:41:50 +03:00

update dependencies

This commit is contained in:
Jesse Duffield
2018-08-14 08:34:31 +10:00
parent 047892962a
commit 45f640941c
34 changed files with 2962 additions and 2149 deletions

View File

@ -364,6 +364,9 @@ func (g *Gui) SetManagerFunc(manager func(*Gui) error) {
// MainLoop runs the main loop until an error is returned. A successful
// finish should return ErrQuit.
func (g *Gui) MainLoop() error {
if err := g.flush(); err != nil {
return err
}
go func() {
for {
g.tbEvents <- termbox.PollEvent()