signal flush done within one render cycle
Vladimir Bauer
9 years ago
1 changed file(s) with
3 addition(s)
and
5 deletion(s)
.
Raw diff
Collapse all
Expand all
+3
-5
progress.go
less
more
251
251
252
252
cw.Flush()
253
253
254
go func() {
255
for _, b := range bars {
256
b.flushDone()
257
}
258
}()
254
for _, b := range bars {
255
b.flushDone()
256
}
259
257
case d := <-p.rrChangeReqCh:
260
258
t.Stop()
261
259
t = time.NewTicker(d)