package spin
OCaml project generator
Install
Dune Dependency
Authors
Maintainers
Sources
opam-spin-0.8.3.tbz
sha256=eeef9d3b89cca796d8d47ba425cee131bf14b5b0f1349927c4d8b22297b1f6b6
sha512=1850cad87f180b37e658e716986f6aa0ba76e57d6638d40b8f6e8ae2c6f60deee82218464e02356632022b394f49cc5a341e7255112aef455ffec9ca2db4cc32
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)"
>