dialoguer
A command line prompting library.
0.12.0
77M downloads/mo
#932 most downloaded on crates.io
console-rs/dialoguer
What this package is like to depend on
Last release 1 years ago
23 Aug 2025
Release timing varies
gaps range from 3 months to 1.9 years
Most releases are documented
notes for 14 of 20 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
20 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
20 releases · May 2017 to Aug 2025Releases
latest 20-
0.12.023 Aug 2025Release notes
Open source →What's Changed
- Fix prompt in
select.rsexample by @jwodder in #289 - Document crate feature guarded items on docs.rs by @robjtede in #293
- Add conversion between error types by @jacobtread in #300
- Accept items by iterator instead of slice by @jacobtread in #299
- refactor: replace
thiserrorwith a manual impl by @CosmicHorrorDev in #327 - Update console to 0.16 by @musicinmybrain in #329
- Fix prompt in
-
0.11.021 Sep 2023Release notes
Open source →What's Changed
- Fix compilation of a doc test by @LingMan in #253
- Drop .clippy.toml by @LingMan in #252
- Polish CI by @LingMan in #254
- Add vim mode to
FuzzySelectby @damymetzke in #259 - Do not error on Key::Unknown in input and confirm by @mitsuhiko in #260
- Make inputs fail if not connected to a terminal by @mitsuhiko in #261
- fix(select): Switch to correct page before showing select by @francisdb in #267
- [#268] Fix Input tail length calculation (wrong cursor positioning) by @finistseb in #269
- Record input to history before validation by @Gordon01 in #273
- Update MSRV to 1.59 -> 1.63 by @Gordon01 in #274
- Provide a basic default implementation of
Historyby @Garbaz in #209 - Change chars for
MultiSelectitems by @Gordon01 in #275 - Count characters in
passwordexample instead of bytes by @Gordon01 in #276 - Remove
ColorfulTheme.inline_selectionsby @Gordon01 in #277 - Fix panic in fuzzy-select when using non-ASCII characters by @stormshield-kg in #245
- Remove dead code and 'Debug' trait bound on Input's 'interact_text*' methods by @tbergerd in #280
- fix #281 : Select : prompt is no longer displayed by @tbergerd in #282
Release notes
Open source →Enhancements
- Added
dialoguer::Resultanddialoguer::Error - Added a
BasicHistoryimplementation forHistory - Added vim mode for
FuzzySelect - All prompts implement
Clone - Add handling of
Deletekey forFuzzySelect
Bug fixes
- Resolve some issues on Windows where pressing shift keys sometimes aborted dialogs
- Resolve
MultiSelectchecked and unchecked variants looking the same on Windows Inputvalues that are invalid are now also stored inHistory- Resolve some issues with cursor positioning in
Inputwhen usingutf-8characters - Correct page is shown when default selected option is not on the first page for
Select - Fix panic in
FuzzySelectwhen using non-ASCII characters
Breaking
- Updated MSRV to
1.63.0due to multiple dependencies on different platforms:rustix,tempfile,linux-raw-sys - Removed deprecated
Confirm::with_text - Removed deprecated
ColorfulTheme::inline_selections - Prompt builder functions now take
mut selfinstead of&mut self - Prompt builder functions now return
Selfinstead of&mut Self - Prompt interaction functions now take
selfinstead of&self - Prompt interaction functions and other operations now return
dialoguer::Resultinstead ofstd::io::Result - Rename
ValidatortoInputValidator - The trait method
Theme::format_fuzzy_select_prompt()now takes a byte position instead of a cursor position in order to support UTF-8.
-
0.10.407 Apr 2023Release notes
Open source →What's Changed
- Fix README by @dhoomakethu in #240
- Add
validate_withfunction to password prompt by @qt2 in #219
-
0.10.314 Jan 2023Release notes
Open source →Enhancements
- Fix various issues with fuzzy select
- Enable customization of number of rows for fuzzy select
- Added post completion text for input
- Various cursor movement improvements
- Correctly ignore unknown keys.
- Reset prompt height in
TermThemeRenderer::clear.
-
0.10.228 Jul 2022Release notes
Open source →Enhancements
- Fix fuzzy select active item colors.
- Fix fuzzy search clear on cancel.
- Clear everything on cancel via escape key.
-
0.10.109 May 2022 -
0.10.012 Feb 2022Release notes
Open source →Enhancements
- Loosen some trait bounds
- Improve keyboard interactions (#141, #162)
- Added
max_lengthtoMultiSelect,SelectandSort - Allow completion support for
Input::interact_text*behindcompletionfeature
Breaking
- All prompts
*::newwill now don't report selected values unlessreport(true)is called on them.
-
0.9.014 Oct 2021Release notes
Open source →Enhancements
- Apply input validation to the default value too in
Input - Added
FuzzySelectbehindfuzzy-selectfeature - Allow history processing for
Input::interact_text*behindhistoryfeature - Added
interact_*_optmethods forMultiSelectandSort.
Breaking
- Updated MSRV to
1.51.0 Editoris gated behindeditorfeaturePassword,Theme::format_password_promptandTheme::format_password_prompt_selectionare gated behindpasswordfeature- Remove
Select::paged(),Sort::paged()andMultiSelect::paged()in favor of automatic paging based on terminal size
- Apply input validation to the default value too in
-
0.8.015 Mar 2021Release notes
Open source →Enhancements
Input::validate_withcan take aFnMut(allowing multiple references)
Breaking
Input::interact*methods take&mut selfinstead of&self
-
0.7.119 Oct 2020 -
0.7.018 Oct 2020Release notes
Open source →Enhancements
- Added
wait_for_newlinetoConfirm - More secure password prompt
- More documentation
- Added
interact_textmethod forInputprompt - Added
inline_selectionstoColorfulTheme
Breaking
- Removed
theme::CustomPromptCharacterTheme Inputvalidators now take the input typeTas argConfirmhas nodefaultvalue by default now
- Added
-
0.6.230 Apr 2020 -
0.6.128 Apr 2020 -
0.6.028 Apr 2020Release notes
Open source →Breaking
- Removed
theme::SelectionStyleenum - Allowed more customization for
theme::Themetrait by changing methods - Allowed more customization for
theme::ColorfulThemeby changing members - Renamed prompt
ConfirmationtoConfirm - Renamed prompt
PasswordInputtoPassword - Renamed prompt
OrderListtoSort - Renamed prompt
CheckboxestoMultiSelect
Enhancements
- Improved colored theme
- Improved cursor visibility manipulation
- Removed
-
0.5.126 Apr 2020Nothing published for this version
-
0.5.003 Nov 2019Nothing published for this version
-
0.4.016 May 2019Nothing published for this version
-
0.3.022 Nov 2018Nothing published for this version
-
0.2.012 Nov 2018Nothing published for this version
-
0.1.011 May 2017Nothing published for this version