src/bin/completion.rs: add history support

This commit is contained in:
Dietmar Maurer committed 2019-11-30 15:08:37 +01:00
1 parent 4b8573da65
commit 7afc1af7ab
1 file changed
+3 -1
+3 -1
View File
@@ -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(())