fix comment in progress.go

This commit is contained in:
Jeffrey Morgan 2023-11-19 13:46:19 -05:00
parent c06b9b7304
commit 258addc799

View file

@ -51,7 +51,7 @@ func (p *Progress) StopAndClear() bool {
stopped := p.Stop()
if stopped {
// clear the progress bar by:
// clear all progress lines
for i := 0; i < p.pos; i++ {
fmt.Fprint(p.w, "\033[A\033[2K\033[1G")
}