package spin
OCaml project generator
Install
Dune Dependency
Authors
Maintainers
Sources
spin-0.8.0.tbz
sha256=2d612f7a55a2cd71177e96c6a5a5d3a7c258b19b4eef9cf994a24b1ec77c3764
sha512=1b46b047c6f3d3ed38ba38912680e2af802517f30d27ae42ceca4fa1b3954d28ba6922535a322230a57e466f009df499823b39a325f476a9bf938fa2e0cd8f4a
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)"
>