From 1ff0627789c9de07b8c9eb01a0aeb232f6f3eb36 Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 24 Sep 2024 12:23:05 -0700 Subject: [PATCH] Add start screen --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index edf6529..fc2e449 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,6 +85,11 @@ fn interactive(verbose: bool, asm: Option) { p.set_asm_arch(a); } + println!("\n{} {} -- {}", color!(Color::YELLOW, bold!(">").as_str()), bold!("Component").as_str(), bold!("v0.1.0").as_str()); + println!("------------------------------------------------------"); + println!("A programming language for math using postfix notation"); + println!("-- Source: https://github.com/JakeRoggenbuck/component"); + loop { print!("{}", color!(Color::GREEN, bold!("\n> ").as_str())); stdout().flush().expect("Failed to flush stdout");