Fix unexpected behaviors of keep_filter option in MultiSelect prompts:
Filter input is now correcly getting reset only whenkeep_filter == false.
When the filter input is reset, the list of options is now correctly reset as well. Thanks @Swivelgames for reporting #238.
v0.7.3
Fix cursor occasionally blinking in unexpected places.
v0.7.2
Pressing Ctrl+D now cancels the prompt. Thanks @mikecvet for the PR!
Add support for h and l bindings when vim_mode is enabled on MultiSelect prompts, clearing or selecting all options respectively. Thanks @afh for the PR!
Fix render issue #233 where cursor positioning at the end of a prompt was incorrect. Thanks @msrd0 and @Sydonian for reporting!
The Select and Multiselect Filter now scores input and is now expected to return an Option<i64>, making it possible to order/rank the list of options. #176None: Will not be displayed in the list of options.
Some(score): score determines the order of options, higher score, higher on the list of options.
Improved user experience on Password prompts. When there is a validation error, the input is cleared if the password is rendered using the Hidden display mode, matching the user expectation of having to write the password from scratch again. Thanks to @CM-IV for the questions on #149!
Allow lifetime customization of RenderConfig. #101. Thanks to @arturfast for the suggestion #95.
Implement fuzzy search as default on Select and MultiSelect prompts. Thanks @Baarsgaard! #176
Fix user-provided ANSI escape codes from being removed when rendering.
Introduced on 0.7.0, this regression was making it impossible to have colorised text inside the prompt.
Now ANSI escape codes are properly emitted when rendering the prompt in the terminal.
[0.7.4] - 2024-03-25
Fix unexpected behaviors of keep_filter option in MultiSelect prompts:
Filter input is now correcly getting reset only whenkeep_filter == false.
When the filter input is reset, the list of options is now correctly reset as well. Thanks @Swivelgames for reporting #238.
[0.7.3] - 2024-03-21
Fix cursor occasionally blinking in unexpected places.
[0.7.2] - 2024-03-17
Pressing Ctrl+D now cancels the prompt. Thanks @mikecvet for the PR!
Add support for h and l bindings when vim_mode is enabled on MultiSelect prompts, clearing or selecting all options respectively. Thanks @afh for the PR!
Fix render issue #233 where cursor positioning at the end of a prompt was incorrect. Thanks @msrd0 and @Sydonian for reporting!
[0.7.1] - 2024-03-10
Fix render issue #228 when using console crate as the terminal backend. Thanks @maospr for reporting.
[0.7.0] - 2024-02-24
Breaking Changes
The Select and Multiselect Filter now scores input and is now expected to return an Option<i64>, making it possible to order/rank the list of options. #176None: Will not be displayed in the list of options.
Some(score): score determines the order of options, higher score, higher on the list of options.
Improved user experience on Password prompts. When there is a validation error, the input is cleared if the password is rendered using the Hidden display mode, matching the user expectation of having to write the password from scratch again. Thanks to @CM-IV for the questions on #149!
Allow lifetime customization of RenderConfig. #101. Thanks to @arturfast for the suggestion #95.
Implement fuzzy search as default on Select and MultiSelect prompts. #176
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps inquire from 0.6.2 to 0.7.5.
Release notes
Sourced from inquire's releases.
... (truncated)
Changelog
Sourced from inquire's changelog.
... (truncated)
Commits
0e39b45
chore: release v0.7.5e3db8d1
Add changelog entrybf40860
Fix ANSI escape codes provided in input from being stripped when rendering7fe8e5e
Improve changelog messaging of v0.7.44ac91f3
chore: release v0.7.42b1c882
Reset list of options when filter input is reset (#240)62ecc2e
Fix unexpected behaviour ofkeep_filter
option in MultiSelect prompts (#239)82ab0e4
chore: release v0.7.38225428
Fix cursor occasionally blinking in unexpected places724c7e6
chore: release v0.7.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show