Properly add lines to the history for readline in the ebc

This commit is contained in:
R Tyler Croy 2020-01-14 20:09:34 -08:00
parent a32e28d2d2
commit 7c1fc95f93
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
node_modules/ node_modules/
.cargo/ .cargo/
build/ build/
.otto-ebc-history

View File

@ -41,6 +41,7 @@ fn main() {
} }
} }
} else { } else {
rl.add_history_entry(line.as_str());
if line == "quit" { if line == "quit" {
return; return;
} }