mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 12:15:22 +00:00
progressbar: make start and end seamless (#1042)
This commit is contained in:
parent
ec2a31e9b3
commit
6e9bcdb9b3
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user