src/bin/completion.rs: add history support
This commit is contained in:
1 parent
4b8573da65
commit
7afc1af7ab
1 file changed
+3
-1
@@ -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(())
|
||||
|
||||
Reference in new issue
Block a user