Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
258addc7
Commit
258addc7
authored
Nov 19, 2023
by
Jeffrey Morgan
Browse files
fix comment in `progress.go`
parent
c06b9b73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
progress/progress.go
progress/progress.go
+1
-1
No files found.
progress/progress.go
View file @
258addc7
...
@@ -51,7 +51,7 @@ func (p *Progress) StopAndClear() bool {
...
@@ -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
,
"
\0
33[A
\0
33[2K
\0
33[1G"
)
fmt
.
Fprint
(
p
.
w
,
"
\0
33[A
\0
33[2K
\0
33[1G"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment