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

Skip to content

Conversation

@jh0x
Copy link
Contributor

@jh0x jh0x commented Dec 23, 2024

Add support for custom progress provider in form of lambda/funtction:

auto p = ProgressBar([&]{ return getValue(); }, {.out = &hide, .speed = 1, .show = false});
//                   ^^^^^^^^^^^^^^^^^^^^^^^^^

@coveralls
Copy link

coveralls commented Dec 24, 2024

Pull Request Test Coverage Report for Build 12494646274

Details

  • 38 of 38 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 99.109%

Totals Coverage Status
Change from base Build 12267205189: 0.04%
Covered Lines: 445
Relevant Lines: 449

πŸ’› - Coveralls

@jh0x
Copy link
Contributor Author

jh0x commented Dec 24, 2024

I should look at that Python fail later.

Copy link
Owner

@oir oir left a comment

Choose a reason for hiding this comment

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

Looks great! Ty for this contribution. I will document the new feature and bump version / release soon.

@oir oir merged commit ce25c8a into oir:main Dec 28, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants