Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class ErrorBoundaryState(var state: ErrorState = ERROR, var attempts: Int = 1, var showStackTrace: Boolean = false)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class InfoAnimationState(var state: InfoState = ACTIVE, var exception: Exception? = null, var print: Boolean = false)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Step state
Link copied to clipboard
Step status
Properties
Functions
Link copied to clipboard
Runs asynchronously
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Hotfix readEventOrNull() https://github.com/ajalt/mordant/issues/276
Link copied to clipboard
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>
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>
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>
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>
Link copied to clipboard
Link copied to clipboard