mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 15:13:01 +01:00
parent
a148ad8697
commit
bf6780967b
@ -64,7 +64,7 @@ impl CompletionActionHandler for FuzzyCompletion {
|
|||||||
.default(0)
|
.default(0)
|
||||||
.items(&selections[..])
|
.items(&selections[..])
|
||||||
.interact_on_opt(&Term::stdout())
|
.interact_on_opt(&Term::stdout())
|
||||||
.expect("Fuzzy completion interact on operation");
|
.unwrap_or(None);
|
||||||
let _ = crossterm::terminal::enable_raw_mode();
|
let _ = crossterm::terminal::enable_raw_mode();
|
||||||
|
|
||||||
if let Some(result) = result {
|
if let Some(result) = result {
|
||||||
|
Loading…
Reference in New Issue
Block a user