alive-progress icon indicating copy to clipboard operation
alive-progress copied to clipboard

Request - display counters

Open thorntonjohn opened this issue 3 years ago • 1 comments

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

thorntonjohn avatar Jan 08 '21 21:01 thorntonjohn

Hey, I like the idea! It may take a while until I have time to, but I'll implement it 👍

rsalmei avatar Jan 08 '21 23:01 rsalmei