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

Progress bar #110

Open
jdbruijn opened this issue May 1, 2021 · 0 comments
Open

Progress bar #110

jdbruijn opened this issue May 1, 2021 · 0 comments

Comments

@jdbruijn
Copy link
Member

jdbruijn commented May 1, 2021

Programming language(s)

C++

Description

Textual progress bar, similar to the progress npm package.

  • Compile time configuration for used formatting library.
    This should make it more useful on embedded systems, where program memory and RAM are often precious resources. I'm okay with making the first release just for one of these.
  • Configuration (runtime) for:
    • total total number of ticks to complete.
    • current current number of completed ticks.
    • width displayed width of the progress bar, defaulting to total or 100, whichever is the lowest.
    • head head character, defaulting to >.
    • complete complete character, defaulting to =.
    • incomplete incomplete character, defaulting to (space).
    • end_of_line end of line character(s), defaulting to \r.
  • Formatting of progress bar.
    This gives the user flexibility in placing text around the progress bar.

Motivation

  • Make it easy to display progress or some process.

Personal learnings

  • Compile time configuration of code sections.

Project name

progress-bar

@jdbruijn jdbruijn transferred this issue from another repository Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: todo 📝
Roadmap
Triage
Development

No branches or pull requests

1 participant