# Functions
AutoCompleteFromSlice creates a case-insensitive auto-complete function from a slice of choices.
AutoCompleteFromSliceWithDefault creates a case-insensitive auto-complete function from a slice of choices with a default completion value that is inserted if the function is called on an empty input.
CaseSensitiveAutoCompleteFromSlice creates a case-sensitive auto-complete function from a slice of choices.
CaseSensitiveAutoCompleteFromSliceWithDefault creates a case-sensitive auto-complete function from a slice of choices with a default completion value that is inserted if the function is called on an empty input.
New creates a new text input.
NewDefaultKeyMap returns a KeyMap with sensible default key mappings that can also be used as a starting point for customization.
NewModel returns a new model based on the provided text input.
ValidateNotEmpty is a validation function that ensures that the input is not empty.
# Constants
DefaultMask specified the character with which the input is masked by default if Hidden is true.
DefaultResultTemplate defines the default appearance with which the finale result of the prompt is presented.
DefaultTemplate defines the default appearance of the text input and can be copied as a starting point for a custom template.
# Variables
ErrInputValidation is a generic input validation error.