toggle menu
mordant
common
switch theme
search in API
mordant
/
com.github.ajalt.mordant.terminal
/
Prompt
/
Prompt
Prompt
constructor
(
prompt
:
String
,
terminal
:
Terminal
,
default
:
T
?
=
null
,
showDefault
:
Boolean
=
true
,
showChoices
:
Boolean
=
true
,
hideInput
:
Boolean
=
false
,
choices
:
Collection
<
T
>
=
emptyList()
,
promptSuffix
:
String
=
": "
,
invalidChoiceMessage
:
String
=
"Invalid value, choose from "
)