Skip to content

Simplify progress bar display logic #271

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

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

EricccTaiwan
Copy link
Contributor

Refactor the progress bar logic to remove redundant conditional handling for the final 100% case. Instead of using a special case to clear and reprint the final bar, the update now ensures a consistent format for all progress levels.

Change-Id: Ie424815310c18b0b021d53bf9652d590da1bf5ab

Copy link
Contributor

@jserv jserv left a comment

Choose a reason for hiding this comment

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

Rebase the latest master branch, which was forcefully pushed.

Refactor the progress bar logic to remove redundant conditional
handling for the final 100% case. Instead of using a special case
to clear and reprint the final bar, the update now ensures a
consistent format for all progress levels.

Co-authored-by: Po-Ying Chiu <[email protected]>
Change-Id: Id2760db0c4ff2b4eaa75e97f04b0178de4ca63a3
@jserv jserv merged commit e427460 into sysprog21:master Mar 17, 2025
1 of 2 checks passed
@jserv
Copy link
Contributor

jserv commented Mar 17, 2025

Thank @EricccTaiwan for contributing!

@EricccTaiwan EricccTaiwan deleted the fix-progess-bar branch March 17, 2025 16:08
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