Kaynağa Gözat

progressbar: make start and end seamless (#1042)

Moritz Poldrack 1 yıl önce
ebeveyn
işleme
6e9bcdb9b3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 {