Skip to content

A way to show progress bar even when total = 1? #620

@mkalamarz

Description

@mkalamarz

When using cli_progress_bar(total = 1, clear = FALSE) I would expect to see the fully filled bar in the same way as I get it when the total is 2 or 2000. I've set progress_show_after=0.

The use case is that rarely a user can specify one element to iterate over but I still need to show the completed progress bar so they don't freak out that this function didn't process their data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions