src/bin/completion.rs: add history support
This commit is contained in:
parent
4b8573da65
commit
7afc1af7ab
@ -56,7 +56,9 @@ fn main() -> Result<(), Error> {
|
||||
|
||||
let args = shellword_split(&line)?;
|
||||
|
||||
handle_command(helper.cmd_def(), "", args);
|
||||
let _ = handle_command(helper.cmd_def(), "", args);
|
||||
|
||||
rl.add_history_entry(line);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user