[−][src]Module prompts::utils
Utility functions and enums for prompts
Public in case you want to implement your own custom prompts
Enums
Figures | Figures that are used for the prompts |
PromptState | Internal state of a prompt |
Functions
calc_entries | Returns start and end-index for showing a limited amount of items |
is_abort_event | Should we abort on this event |
print_input_icon | Prints a pointer or ellipsis depending on prompt state |
print_state_icon | Prints a cross, a tick or a question mark depending on prompt state |