Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eirnym
Copy link

@eirnym eirnym commented Jul 31, 2025

Resolves #355

@@ -0,0 +1,24 @@
use std::thread;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please drop the extra example, we already have too many.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other examples don't illustrate the feature. Could you please, provide the alternative?

pub(crate) draw_target: ProgressDrawTarget,
pub(crate) on_finish: ProgressFinish,
pub(crate) style: ProgressStyle,
pub(crate) finish_style: Option<ProgressStyle>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding more state, suggest adding a new variant to ProgressFinish instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your way it will be way more complicated than it should to be.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

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.

Different style for finish

2 participants