BarStyle godoc
Vladimir Bauer
7 years ago
| 125 | 125 | // |
| 126 | 126 | // '+' refill rune, used when *Bar.SetRefill(int64) is called |
| 127 | 127 | // |
| 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. | |
| 130 | 131 | func BarStyle(style string) BarOption { |
| 131 | 132 | chk := func(filler Filler) (interface{}, bool) { |
| 132 | 133 | if style == "" { |