You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue comes from using progressbar.OptionSetMaxDetailRow(10) without actually calling bar.AddDetail(). This option enables multi-line rendering, but if you don't use it as intended, it understandably results in an index out-of-range error.
Removing the option fixes the issue since you're not using detail rows anyway.
it's because this line. By default progress bar will get the length of the last detail and move the cursor back when finished so if there is not detail it cause index out of range. It's not stable enough so I am gonna try to fix it. Sorry about this bug.😵 Will pr for it.
In my project, running bar.Finish() cause
runtime error: index out of range [-1]
. Any idea why ? 😬The text was updated successfully, but these errors were encountered: