package spin
OCaml project generator
Install
Dune Dependency
Authors
Maintainers
Sources
opam-spin-0.8.2.tbz
sha256=4ca1b0cf7fccdbef2e2e8cba47a66333b2ec1535d45792f5d6ddb8d62824a9eb
sha512=fbb209d50f89f9d924626ba1d12b18f22acd7e3e457a5d371668d0bba3ef8e03fb3d0cac55f3e915f030ce77ecd1a48c471f7c83820f95b996b57cee6ff72e92
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)"
>