progressbar: make start and end seamless (#1042)

This commit is contained in:
Moritz Poldrack 2023-11-09 01:42:40 +01:00 committed by GitHub
parent ec2a31e9b3
commit 6e9bcdb9b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {