mirror of
https://github.com/ollama/ollama.git
synced 2025-08-26 01:51:42 +02:00
fix comment in progress.go
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user