mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
fix comment in progress.go
This commit is contained in:
parent
c06b9b7304
commit
258addc799
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (p *Progress) StopAndClear() bool {
|
||||||
|
|
||||||
stopped := p.Stop()
|
stopped := p.Stop()
|
||||||
if stopped {
|
if stopped {
|
||||||
// clear the progress bar by:
|
// clear all progress lines
|
||||||
for i := 0; i < p.pos; i++ {
|
for i := 0; i < p.pos; i++ {
|
||||||
fmt.Fprint(p.w, "\033[A\033[2K\033[1G")
|
fmt.Fprint(p.w, "\033[A\033[2K\033[1G")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue