package spin
OCaml project generator
Install
Dune Dependency
Authors
Maintainers
Sources
opam-spin-0.8.1.tbz
sha256=cd1ca43c7d3bb11be0b525642e57aa98e4d8250aea6c2fdb5c70b120449abdc1
sha512=0ff1e8886a49773d8ead3a21df1fb46697954fb43e875bd1ddc4cb95542fe0a767c556c432d78b47654a1f3d361800c234486e4cc237b9aa8d4df22e5a3a1ff9
doc/spin.inquire/Inquire/Style/index.html
Module Inquire.Style
Source
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 ->
t
Create a custom style.
qmark_icon
is the icon used for the question mark that prefixes the prompt.qmark_format
is the format of the question mark.message_format
is the format of the prompt message.error_icon
is the icon used for error messages.error_format
is the format used for the error messages.default_format
is the format used for the default tooltip of the prompt, if present.option_icon_marked
is the icon used to mark selected options in multi-selection prompts.option_icon_unmarked
is the icon used to mark unselected options in multi-selection prompts.pointer_icon
is the icon used to mark the selected option in single-selection prompts.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>