1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

clearing status before re-writing contents

This commit is contained in:
Jesse Duffield 2018-06-01 23:25:15 +10:00
parent b6eaa44cc2
commit a555a75565

1
gui.go
View File

@ -186,6 +186,7 @@ func refreshStatus(g *gocui.Gui) error {
if err != nil {
return err
}
v.Clear()
up, down := gitUpstreamDifferenceCount()
devLog(up, down)
fmt.Fprint(v, "↑"+up+"↓"+down)