diff --git a/.gitignore b/.gitignore index 1d03494..7532903 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ .cargo/ build/ +.otto-ebc-history diff --git a/eventbus/src/cli/main.rs b/eventbus/src/cli/main.rs index 5862fe6..4926ff3 100644 --- a/eventbus/src/cli/main.rs +++ b/eventbus/src/cli/main.rs @@ -41,6 +41,7 @@ fn main() { } } } else { + rl.add_history_entry(line.as_str()); if line == "quit" { return; }