mirror of
https://github.com/nushell/nushell.git
synced 2024-12-16 20:21:09 +01:00
clippy take2
This commit is contained in:
parent
e330fdabb7
commit
7ef5a7945f
@ -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 New Issue
Block a user