clear the buffer on every status execute
1 files changed, 8 insertions(+), 1 deletions(-) M Git.go
M Git.go => Git.go +8 -1
@@ 11,7 11,14 @@ import ( var win *acme.Win func wipe() { win.Addr(",") win.Write("data", nil) } func status() { wipe() cmd := exec.Command("git", "status") r, w, err := os.Pipe() @@ if err != nil { 52,7 59,7 @@ func main() { win.Ctl("clean") win.Fprintf("tag", "Status Diff Log Commit") win.Fprintf("body", "PLACEHOLDER") //win.Fprintf("body", "PLACEHOLDER") go events() r, err := acme.Log()