step

context(scope: CoroutineScope)
fun Terminal.step(title: () -> String, activeIcon: () -> String, inactiveIcon: String, color: TextStyle, footer: String? = null, keyOptions: () -> Map<String, KeyOption> = { emptyMap() }, onAnimate: (widget: Widget) -> Unit? = null, onDone: (animation: Animation<Unit>, throwable: Throwable?) -> Unit? = null, onDisabled: (key: KeyPattern) -> Unit? = null, content: (status: StepStatus) -> Widget? = { null }): Pair<Animation<Unit>, Job>
context(scope: CoroutineScope)
fun Terminal.step(title: () -> String, activeIcon: () -> String, inactiveIcon: String, color: TextStyle, footer: String = "│", keyOptions: Map<String, KeyOption> = emptyMap(), onAnimate: (widget: Widget) -> Unit? = null, onDone: (animation: Animation<Unit>, throwable: Throwable?) -> Unit? = null, content: (status: StepStatus) -> Widget? = { null }): Pair<Animation<Unit>, Job>