Skip to content

Progress bar does not show #49

@amallia

Description

@amallia

I am using the following code to generate a progress bar which I will update using the update function.

    tqdm::Params params;
    params.desc="recursive_bisection";
    params.leave = true;
    params.dynamic_ncols = true;
    auto progress = tqdm::tqdm(forward_index.begin(), forward_index.size(), params);

Until I call the update function for the first time it will pass few minutes, until then the progress bar is not shown at all. I have tried to call update(0) but it does not work.
Is there a better way to show the bar just after its initialization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions