package spin
Module Inquire.StyleSource
Module to customize Inquire prompts.
Available colors.
Various styles for the text. Blink and Hidden may not work on every terminal.
Shortcut for Hidden
Source
val make :
?qmark_icon:string ->
?qmark_format:Ansi.style list ->
?message_format:Ansi.style list ->
?error_icon:string ->
?error_format:Ansi.style list ->
?default_format:Ansi.style list ->
?option_icon_marked:string ->
?option_icon_unmarked:string ->
?pointer_icon:string ->
unit ->
tCreate a custom style.
qmark_iconis the icon used for the question mark that prefixes the prompt.qmark_formatis the format of the question mark.message_formatis the format of the prompt message.error_iconis the icon used for error messages.error_formatis the format used for the error messages.default_formatis the format used for the default tooltip of the prompt, if present.option_icon_markedis the icon used to mark selected options in multi-selection prompts.option_icon_unmarkedis the icon used to mark unselected options in multi-selection prompts.pointer_iconis the icon used to mark the selected option in single-selection prompts.