Choose

tui.components.Choose
See theChoose companion object
case class Choose[A](renderA: A => View) extends TerminalApp[Nothing, State[A], A]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TerminalApp[Nothing, State[A], A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def render(state: State[A]): View

Attributes

Definition Classes
override def update(state: State[A], event: TerminalEvent[Nothing]): Step[State[A], A]

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def run(initialState: State[A]): RIO[TUI, A]

Attributes

Inherited from:
TerminalApp
def runOption(initialState: State[A]): RIO[TUI, Option[A]]

Attributes

Inherited from:
TerminalApp