Codebase list golang-github-vbauerster-mpb / 4b4f581
edit comment Vladimir Bauer 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
127127 }
128128 }
129129
130 // BarStyle overrides mpb.DefaultBarStyle, for example BarStyle("╢▌▌░╟").
131 // If you need to override `reverse tip` and `refill rune` set 6th and
132 // 7th rune respectively, for example mpb.BarStyle("[=>-]<+").
130 // BarStyle overrides mpb.DefaultBarStyle which is "[=>-]<+".
131 // It's ok to pass string containing 5 runes only, for example "╢▌▌░╟",
132 // if you don't need to override '<' (reverse tip) and '+' (refill rune).
133133 func BarStyle(style string) BarOption {
134134 if style == "" {
135135 return nil