From b638970c844fb40c70601c590a747847b84798b9 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 18 Jun 2020 00:24:27 -0400 Subject: [PATCH] Make repl Windows-friendly --- cli/src/main.rs | 2 +- cli/src/repl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index fb3e921b8a..e934b82e77 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -617,5 +617,5 @@ fn gen( .write_to_file(&env.module, FileType::Object, &dest_filename) .expect("Writing .o file failed"); - println!("\nSuccess! 🎉\n\n\t➡ {}\n", dest_filename.display()); + println!("\nSuccess!\n\n\t—> {}\n", dest_filename.display()); } diff --git a/cli/src/repl.rs b/cli/src/repl.rs index 48e309f512..88c3a5afbb 100644 --- a/cli/src/repl.rs +++ b/cli/src/repl.rs @@ -50,7 +50,7 @@ pub fn main() -> io::Result<()> { loop { if pending_src.is_empty() { - print!("\n\u{001b}[36m▶\u{001b}[0m "); + print!("\n\u{001b}[36m»\u{001b}[0m "); } else { print!("\u{001b}[36m…\u{001b}[0m "); }