瀏覽代碼

progressbar: make start and end seamless (#1042)

Moritz Poldrack 1 年之前
父節點
當前提交
6e9bcdb9b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {