Skip to content

Update color on completed? #178

Description

@pbeocanin

Say I do something like

bar = new ProgressBar(':current/:total :bar :percent :elapseds', {
		total: files.length,
		complete: red,
	});

And then once I'm done, I'd run something like bar.update({ complete: green });, which re-renders the bar, but doesn't change the color. Am I missing something, or is this not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions