Reformatted autocomplete
This commit is contained in:
@ -248,8 +248,9 @@ pub mod shell {
|
||||
if *&mycommand.len() == 0 {
|
||||
continue;
|
||||
}
|
||||
|
||||
//Search
|
||||
let (res, list) = autocomplete(&mycommand);
|
||||
let (res, list) = Search::build(&mycommand).unwrap().autocomplete();
|
||||
write!(stdout, "\r\n{}\r\n", list);
|
||||
mycommand.clear();
|
||||
mycommand.push_str(&res);
|
||||
|
||||
Reference in New Issue
Block a user