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
6e9bcdb9
Unverified
Commit
6e9bcdb9
authored
Nov 09, 2023
by
Moritz Poldrack
Committed by
GitHub
Nov 08, 2023
Browse files
progressbar: make start and end seamless (#1042)
parent
ec2a31e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
progressbar/progressbar.go
progressbar/progressbar.go
+1
-1
No files found.
progressbar/progressbar.go
View file @
6e9bcdb9
...
@@ -291,7 +291,7 @@ func OptionShowDescriptionAtLineEnd() Option {
...
@@ -291,7 +291,7 @@ func OptionShowDescriptionAtLineEnd() Option {
}
}
}
}
var
defaultTheme
=
Theme
{
Saucer
:
"█"
,
SaucerPadding
:
" "
,
BarStart
:
"
|
"
,
BarEnd
:
"
|
"
}
var
defaultTheme
=
Theme
{
Saucer
:
"█"
,
SaucerPadding
:
" "
,
BarStart
:
"
▕
"
,
BarEnd
:
"
▏
"
}
// NewOptions constructs a new instance of ProgressBar, with any options you specify
// NewOptions constructs a new instance of ProgressBar, with any options you specify
func
NewOptions
(
max
int
,
options
...
Option
)
*
ProgressBar
{
func
NewOptions
(
max
int
,
options
...
Option
)
*
ProgressBar
{
...
...
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