KeyOption

data class KeyOption(val message: String, val color: TextStyle = gray, val label: String? = null, val disabled: String? = null, val hidden: Boolean = false, val priority: Int = 0)

Select Key Option

Constructors

Link copied to clipboard
constructor(message: String, color: TextStyle = gray, label: String? = null, disabled: String? = null, hidden: Boolean = false, priority: Int = 0)

Properties

Link copied to clipboard
lateinit var action: KeyOptionContext.() -> Unit

The action triggered when this key is pressed

Link copied to clipboard
val color: TextStyle

Color of the message

Link copied to clipboard

Disabled message

Link copied to clipboard

Whether hidden

Link copied to clipboard

Label of the key

Link copied to clipboard

The help message describing what this key option does

Link copied to clipboard

Ordering priority