Skip to content

Instance Method

renderActiveBar(tick:width:)

Called each time the ActivityBar should refresh its display.
func renderActiveBar(tick: UInt, width: Int) -> ConsoleText

Parameters

tick

Increments each time this method is called. Use this number to change the activity bar’s appearance over time.

width

The width of the activity bar in characters.

Return Value

Rendered activity bar.