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

Add MultiBar.update(forceRendering) option

Open emmercm opened this issue 9 months ago • 2 comments

GenericBar lets you force rendering with .render(true), I'd love to do the same with MultiBar.

I'm running into an issue where a GenericBar is added and then removed from MultiBar so quickly that it never renders. I think MultiBar.remove() should also make use of this suggested MultiBar.update(forceRendering=true) behavior.

emmercm avatar Mar 12 '25 01:03 emmercm

this package is trash but you can achieve that result using multibar.create(total, 0, { data: 123 }, { forceRedraw: true });

ghost avatar Sep 06 '25 08:09 ghost

I appreciate the solution, but there's no need to be inflammatory.

emmercm avatar Sep 06 '25 15:09 emmercm