Autocomplete fix attempt
This commit is contained in:
parent
a56dc578de
commit
165f4a3a08
@ -97,7 +97,7 @@ impl Search {
|
|||||||
SearchType::CmdSearch => autocomplete_cmd(&self.searchee, &self),
|
SearchType::CmdSearch => autocomplete_cmd(&self.searchee, &self),
|
||||||
SearchType::FileSearch => match autocomplete_file(&self) {
|
SearchType::FileSearch => match autocomplete_file(&self) {
|
||||||
Ok(t) => t,
|
Ok(t) => t,
|
||||||
Err(_) => (format!("{}{}", &self.command, &self.searchee), String::new()),
|
Err(_) => (String::new(), String::new()),
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user