tqdm.cpp icon indicating copy to clipboard operation
tqdm.cpp copied to clipboard

Output not what expected

Open tdegeus opened this issue 3 years ago • 2 comments

I have the following code

#include <tqdm/tqdm.h>

int main()
{
    for (int i : tqdm::range(5))
    {

    }

    return 0;
}

I would have hoped to see a progress-bar, but instead I see

1 left
finished: 5/5

What is going on?

tdegeus avatar Feb 09 '21 09:02 tdegeus

Same problem here, any suggestion to it?

liangzhupic avatar Nov 24 '21 07:11 liangzhupic

I also can't get a progress bar, and even worse: "n left" doesn't clear the line, so the output looks like this after counting down

1 leftttttt
finished: 1000000/1000000

jamesavery avatar May 24 '22 15:05 jamesavery