panic on invalid bar style
Vladimir Bauer
6 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
bar_filler_bar.go
less
more
66
66
67
67
func (s *barFiller) SetStyle(style string) {
68
68
if !utf8.ValidString(style) {
69
return
69
panic("invalid bar style")
70
70
}
71
71
if style == "" {
72
72
style = DefaultBarStyle