diff --git a/libconlang/examples/interpret.rs b/libconlang/examples/interpret.rs index 6951ac5..e34a464 100644 --- a/libconlang/examples/interpret.rs +++ b/libconlang/examples/interpret.rs @@ -43,11 +43,11 @@ fn take_stdin() -> Result<(), Box> { } 1 => { let _ = run(&buf, &mut interpreter).map_err(|e| eprintln!("{e}")); + print!("\n{PROMPT}"); buf.clear(); } - _ => (), + _ => print!(". "), } - print!("{PROMPT}"); stdout().flush()?; } } else {