Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: when setMaxDetailRow() but not use AddDetail(), cause index out of range. #214

Merged

Conversation

chengxilo
Copy link
Contributor

fix: #212
when user do not add detail, the progress bar will panic because index out of range.

@schollz schollz merged commit d367bcc into schollz:main Jan 24, 2025
1 check passed
@chengxilo chengxilo deleted the fix_index_out_of_range_when_no_details branch January 24, 2025 22:41
@chengxilo
Copy link
Contributor Author

Thanks.🥰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bar.Finish() cause panic: runtime error: index out of range [-1]
2 participants