Module input

Module input 

Source
Expand description

Input Utilities

This module provides functions for handling user input in console applications, including reading user input, selecting options from a list, displaying spinners, and gradually revealing, skippable strings.

Structs§

Empty
A Wrapper for allowing empty inputs which then return None.

Enums§

SpinnerType
Enumeration representing different types of spinners.

Functions§

input
Reads user input from the console.
multiselect
Allows the user to select multiple options from a list using the console.
reveal
Reveals a string gradually, printing one character at a time with a specified time interval.
select
Allows the user to select one option from a list using the console.
spinner
Displays a console-based spinner animation.