mirror of
https://github.com/nushell/nushell
synced 2025-01-15 14:44:14 +00:00
clippy take2
This commit is contained in:
parent
e330fdabb7
commit
7ef5a7945f
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ impl CompletionActionHandler for FuzzyCompletion {
|
|||
|
||||
let _ = crossterm::terminal::disable_raw_mode();
|
||||
println!();
|
||||
let mut theme = ColorfulTheme::default();
|
||||
theme.active_item_style = Style::new().for_stderr().on_green().black();
|
||||
let theme = ColorfulTheme {
|
||||
active_item_style: Style::new().for_stderr().on_green().black(),
|
||||
..Default::default()
|
||||
};
|
||||
let result = Select::with_theme(&theme)
|
||||
.default(0)
|
||||
.items(&selections[..])
|
||||
|
|
Loading…
Reference in a new issue