Codebase list golang-github-vbauerster-mpb / 971d426
BarStyle godoc Vladimir Bauer 7 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
125125 //
126126 // '+' refill rune, used when *Bar.SetRefill(int64) is called
127127 //
128 // It's ok to provide first five runes only, for example mpb.BarStyle("╢▌▌░╟").
129 // To omit left and right edge runes use BarNoBrackets option.
128 // It's ok to provide first five runes only, for example BarStyle("╢▌▌░╟").
129 // To omit left and right bracket runes, either set style as " =>- "
130 // or use BarNoBrackets option.
130131 func BarStyle(style string) BarOption {
131132 chk := func(filler Filler) (interface{}, bool) {
132133 if style == "" {