Add better exit command (#369)

This commit is contained in:
JT
2021-11-26 21:00:57 +13:00
committed by GitHub
parent f052b3313d
commit 5d88ed6c75
6 changed files with 44 additions and 12 deletions

View File

@ -269,10 +269,6 @@ fn main() -> Result<()> {
let input = line_editor.read_line(prompt);
match input {
Ok(Signal::Success(s)) => {
if s.trim() == "exit" {
break;
}
eval_source(
&mut engine_state,
&mut stack,