File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
* Added ` dialouger::Result ` and ` dialouger::Error `
8
8
* Resolve some issues on Windows where pressing shift keys sometimes aborted dialogs.
9
+ * Resolve ` MultiSelect ` checked and unchecked variants looking the same on Windows.
9
10
10
11
### Breaking
11
12
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ pub struct BasicHistory {
25
25
impl BasicHistory {
26
26
/// Creates a new basic history value which has no limit on the number of
27
27
/// entries and allows for duplicates.
28
- ///
28
+ ///
29
29
/// # Example
30
- ///
30
+ ///
31
31
/// A history with at most 8 entries and no duplicates:
32
- ///
32
+ ///
33
33
/// ```rs
34
34
/// let mut history = BasicHistory::new().max_entries(8).no_duplicates(true);
35
35
/// ```
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub use completion::Completion;
39
39
pub use edit:: Editor ;
40
40
pub use error:: { Error , Result } ;
41
41
#[ cfg( feature = "history" ) ]
42
- pub use history:: { History , BasicHistory } ;
42
+ pub use history:: { BasicHistory , History } ;
43
43
use paging:: Paging ;
44
44
pub use validate:: Validator ;
45
45
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use crate::{
14
14
15
15
type ValidatorCallback < ' a , T > = Box < dyn FnMut ( & T ) -> Option < String > + ' a > ;
16
16
17
-
18
17
/// Renders an input prompt.
19
18
///
20
19
/// ## Example
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ impl Default for ColorfulTheme {
72
72
active_item_prefix : style ( "❯" . to_string ( ) ) . for_stderr ( ) . green ( ) ,
73
73
inactive_item_prefix : style ( " " . to_string ( ) ) . for_stderr ( ) ,
74
74
checked_item_prefix : style ( "✔" . to_string ( ) ) . for_stderr ( ) . green ( ) ,
75
- unchecked_item_prefix : style ( "✔ " . to_string ( ) ) . for_stderr ( ) . black ( ) ,
75
+ unchecked_item_prefix : style ( "⬚ " . to_string ( ) ) . for_stderr ( ) . magenta ( ) ,
76
76
picked_item_prefix : style ( "❯" . to_string ( ) ) . for_stderr ( ) . green ( ) ,
77
77
unpicked_item_prefix : style ( " " . to_string ( ) ) . for_stderr ( ) ,
78
78
#[ cfg( feature = "fuzzy-select" ) ]
You can’t perform that action at this time.
0 commit comments