Commit 4a2ff9f
Simplify progress bar display logic
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 <charlie910417@gmail.com>
Change-Id: Id2760db0c4ff2b4eaa75e97f04b0178de4ca63a31 parent b9d5c9f commit 4a2ff9f
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
0 commit comments