Browse Source

progressbar: make start and end seamless (#1042)

Moritz Poldrack 1 năm trước cách đây
mục cha
commit
6e9bcdb9b3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {