diff --git a/progress.go b/progress.go index aa67dca..b7ede07 100644 --- a/progress.go +++ b/progress.go @@ -307,7 +307,11 @@ return err } } else { - width = s.reqWidth + if s.reqWidth > 0 { + width = s.reqWidth + } else { + width = 100 + } height = 100 }