SingleChoice

cue4s.Prompt.SingleChoice
case class SingleChoice(lab: String, alts: List[String], windowSize: Int) extends Prompt[String]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Prompt[String]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def framework(terminal: Terminal, output: Output, theme: Theme): PromptFramework[String]

Attributes

Definition Classes

Inherited methods

def map[Derived](f: String => Derived): Prompt[Derived]

Attributes

Inherited from:
Prompt
def mapValidated[Derived](f: String => Either[PromptError, Derived]): Prompt[Derived]

Attributes

Inherited from:
Prompt
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product