Explorar o código

progressbar: make start and end seamless (#1042)

Moritz Poldrack hai 1 ano
pai
achega
6e9bcdb9b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      progressbar/progressbar.go

+ 1 - 1
progressbar/progressbar.go

@@ -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
 func NewOptions(max int, options ...Option) *ProgressBar {