- Allow matches highlighting for
FuzzySelect
- Loosen some trait bounds
- Improve keyboard interactions (#141, #162)
- Added
max_length
toMultiSelect
,Select
andSort
- Allow completion support for
Input::interact_text*
behindcompletion
feature
- All prompts
*::new
will now don't report selected values unlessreport(true)
is called on them.
- Apply input validation to the default value too in
Input
- Added
FuzzySelect
behindfuzzy-select
feature - Allow history processing for
Input::interact_text*
behindhistory
feature - Added
interact_*_opt
methods forMultiSelect
andSort
.
- Updated MSRV to
1.51.0
Editor
is gated behindeditor
featurePassword
,Theme::format_password_prompt
andTheme::format_password_prompt_selection
are gated behindpassword
feature- Remove
Select::paged()
,Sort::paged()
andMultiSelect::paged()
in favor of automatic paging based on terminal size
Input::validate_with
can take aFnMut
(allowing multiple references)
Input::interact*
methods take&mut self
instead of&self
- Added
wait_for_newline
toConfirm
- More secure password prompt
- More documentation
- Added
interact_text
method forInput
prompt - Added
inline_selections
toColorfulTheme
- Removed
theme::CustomPromptCharacterTheme
Input
validators now take the input typeT
as argConfirm
has nodefault
value by default now
- Updating some docs
theme::ColorfulTheme
default styles are for stderr
- Removed
theme::SelectionStyle
enum - Allowed more customization for
theme::Theme
trait by changing methods - Allowed more customization for
theme::ColorfulTheme
by changing members - Renamed prompt
Confirmation
toConfirm
- Renamed prompt
PasswordInput
toPassword
- Renamed prompt
OrderList
toSort
- Renamed prompt
Checkboxes
toMultiSelect
- Improved colored theme
- Improved cursor visibility manipulation