Mpdreamz / shellprogressbar

ShellProgressBar - display progress in your console application
MIT License
1.44k stars 134 forks source link

Using child progress bars causes main bar to jump up on console #76

Open starhound opened 3 years ago

starhound commented 3 years ago

Apologies for the unusual title.

I have a list of ~160 sub-lists, I set a main bar to track the process of iteration over the master list, and then a child bar to track progression through each sub-list.

Every time my app iterates over a sub-list, a child bar is added, however the main bar is pushed up a line and thus erases anything on said line. This is obviously less than ideal, and could be just my lack of knowledge regarding the settings of your application.

Other than that, it runs amazing!

starhound commented 3 years ago

Upon further use it appears that it will also remove any spawned bar from the terminal if it is pushed below the current buffer, even with having CollapseWhenFinished set to false.