Skip to content

Request - display counters #71

@thorntonjohn

Description

@thorntonjohn

It would be nice to add counters that could be incremented and displayed in the progress bar. For example:

with alive_bar(len(all_lines), counters["filtered", "success"]) as bar:
  ...
  if success:
    bar(counter="success")
  else if filtered:
    bar(counter="filtered")

|█████████████████████| 5530/5532 [90%] in 43.4s (127.43/s) success: 5000 filtered:530

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions