Constructors

Link copied to clipboard
constructor(terminal: Terminal, maker: ProgressBarWidgetMaker, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)

Properties

Link copied to clipboard
open override val finished: Boolean

Functions

Link copied to clipboard
open override fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>
Link copied to clipboard
open suspend override fun clear()

Stop the animation and remove it from the screen.

Link copied to clipboard
open suspend override fun execute()

Start the animation and refresh it until all its tasks are finished.

Link copied to clipboard
open override fun refresh(refreshAll: Boolean)
Link copied to clipboard
open override fun removeTask(taskId: TaskId): Boolean
Link copied to clipboard
open suspend override fun stop()

Stop the animation, but leave it on the screen.