progressbar
progressbar copied to clipboard
Bar not updating right
The bar is not updating right when the number of iterations is less than 52
Steps to reproduce:
Use the following for loop
progressbar p_bar(29);
for (int i = 0; i < 29; ++i){
bar.update();
// Do the work...
}
Expected Output upon completion:
[################################################] 100%
Actual output upon completion:
[ # # # # # # # # # # # # ##] 100%