We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1848664 commit b848163Copy full SHA for b848163
go/progress/bar.go
@@ -147,5 +147,6 @@ func (b *Bar) Update(total, completed, errors int) {
147
b.total = total
148
b.lastRender = now
149
150
+ os.Stderr.SetWriteDeadline(time.Now().Add(100 * time.Millisecond))
151
fmt.Fprintf(os.Stderr, "\r%s%s%s", prefix, b.filler(prefix, suffix), suffix)
152
}
0 commit comments