The symbols and colors prompts render with.
Attributes#
| Attribute | Type | Description |
|---|---|---|
prefix | str = '?' | |
pointer | str = '❯' | |
pointer_small | str = '›' | |
ellipsis | str = '…' | |
tick | str = '✔' | |
arrow_up | str = '↑' | |
arrow_down | str = '↓' | |
checkbox_on | str = '☒' | |
checkbox_off | str = '☐' | |
description_separator | str = '- ' | |
password_mask | str = '*' | |
toggle_separator | str = '/' | |
primary_color | str = ansi.cyan_bright | |
muted_color | str = ansi.black_bright | |
success_color | str = ansi.green | |
error_color | str = ansi.red | |
submitted_color | str = ansi.white | |
colors | bool = False |
Functions#
__init__#
__init__(*, prefix='?', pointer='❯', pointer_small='›', ellipsis='…', tick='✔', arrow_up='↑', arrow_down='↓', checkbox_on='☒', checkbox_off='☐', description_separator='- ', password_mask='*', toggle_separator='/', primary_color=ansi.cyan_bright, muted_color=ansi.black_bright, success_color=ansi.green, error_color=ansi.red, submitted_color=ansi.white, colors=False) -> None| Parameter | Type | Description |
|---|---|---|
prefix | str = '?' | |
pointer | str = '❯' | |
pointer_small | str = '›' | |
ellipsis | str = '…' | |
tick | str = '✔' | |
arrow_up | str = '↑' | |
arrow_down | str = '↓' | |
checkbox_on | str = '☒' | |
checkbox_off | str = '☐' | |
description_separator | str = '- ' | |
password_mask | str = '*' | |
toggle_separator | str = '/' | |
primary_color | str = ansi.cyan_bright | |
muted_color | str = ansi.black_bright | |
success_color | str = ansi.green | |
error_color | str = ansi.red | |
submitted_color | str = ansi.white | |
colors | bool = False |