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

Add dec and dec_length to ProgressBar #690

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Add dec and dec_length to ProgressBar #690

merged 1 commit into from
Jan 22, 2025

Conversation

jaheba
Copy link
Contributor

@jaheba jaheba commented Jan 21, 2025

Add analgous methods for inc and inc_length which are atomic, in contrast to set_position and set_length.

src/progress_bar.rs Show resolved Hide resolved
src/state.rs Outdated Show resolved Hide resolved
@jaheba
Copy link
Contributor Author

jaheba commented Jan 22, 2025

Addressed comments.

@djc djc merged commit 2871b47 into console-rs:main Jan 22, 2025
10 checks passed
@djc
Copy link
Member

djc commented Jan 22, 2025

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.

2 participants