diff --git a/bar.go b/bar.go index ec8409b..358cb04 100644 --- a/bar.go +++ b/bar.go @@ -180,6 +180,7 @@ } // SetCurrent sets progress' current to an arbitrary value. +// Setting a negative value will cause a panic. func (b *Bar) SetCurrent(current int64) { select { case b.operateState <- func(s *bState) {