Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial Command line progress bars filter_list
Author
Message
RE: Command line progress bars #3
(03-08-2018, 08:59 PM)chunky Wrote: Nice tutorial and actually a really good recommendation. I'd still prefer to just show the current percentage and file size like "Download in progress - 50% [150KB/300KB]" instead of a progress bar on a console application. But that's just my personal preference and the progress bar is a really good way as well.

You can do that with this code, you would just change the progress callback function to one that did that. The progress bars are useful if you have things like timers (use a reverse progress bar) that delay how long things update (which is what I was using this code for), or if your program downloads a bunch of files. It makes it easy to see all of the completed bars (indicating how many are done), as well as the progress of the current one.

Reply





Messages In This Thread
Command line progress bars - by phyrrus9 - 03-08-2018, 08:49 PM
RE: Command line progress bars - by chunky - 03-08-2018, 08:59 PM
RE: Command line progress bars - by phyrrus9 - 03-08-2018, 09:19 PM



Users browsing this thread: 1 Guest(s)