aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.rs')
-rw-r--r--src/repl.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/repl.rs b/src/repl.rs
index 8bd3230..5a028fe 100644
--- a/src/repl.rs
+++ b/src/repl.rs
@@ -87,12 +87,9 @@ fn print(event: &crate::eval::CommandEvent) -> Result<()> {
stdout.write(out).context(Print)?;
stdout.flush().context(Print)?;
}
- crate::eval::CommandEvent::ProcessExit(status) => {
+ crate::eval::CommandEvent::CommandExit(status) => {
eprint!("command exited: {}\r\n", status);
}
- crate::eval::CommandEvent::BuiltinExit => {
- eprint!("builtin exited\r\n");
- }
}
Ok(())
}