diff --git a/progressbar.go b/progressbar.go index 6194e2b..3ac404c 100644 --- a/progressbar.go +++ b/progressbar.go @@ -314,6 +314,7 @@ func OptionShowDescriptionAtLineEnd() Option { } // OptionSetMaxDetailRow sets the max row of details +// the row count should be less than the terminal height, otherwise it will not give you the output you want func OptionSetMaxDetailRow(row int) Option { return func(p *ProgressBar) { p.config.maxDetailRow = row