Skip to content

Commit

Permalink
Change chars for MultiSelect items
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon01 committed Aug 30, 2023
1 parent 418dcef commit ed5ddc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

* Added `dialouger::Result` and `dialouger::Error`
* Resolve some issues on Windows where pressing shift keys sometimes aborted dialogs.
* Resolve `MultiSelect` checked and unchecked variants looking the same on Windows. More compatible '✔️' and '❌' used instead of '✔' colors.

### Breaking

Expand Down
4 changes: 2 additions & 2 deletions src/theme/colorful.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ impl Default for ColorfulTheme {
inactive_item_style: Style::new().for_stderr(),
active_item_prefix: style("❯".to_string()).for_stderr().green(),
inactive_item_prefix: style(" ".to_string()).for_stderr(),
checked_item_prefix: style("✔".to_string()).for_stderr().green(),
unchecked_item_prefix: style("".to_string()).for_stderr().black(),
checked_item_prefix: style("✔".to_string()).for_stderr().blue(),
unchecked_item_prefix: style("".to_string()).for_stderr().red(),
picked_item_prefix: style("❯".to_string()).for_stderr().green(),
unpicked_item_prefix: style(" ".to_string()).for_stderr(),
#[cfg(feature = "fuzzy-select")]
Expand Down

0 comments on commit ed5ddc2

Please sign in to comment.