Skip to content

Commit

Permalink
Add start screen
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeRoggenbuck committed Sep 24, 2024
1 parent 4bf9770 commit 1ff0627
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ fn interactive(verbose: bool, asm: Option<AssemblyArchitecture>) {
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");
Expand Down

0 comments on commit 1ff0627

Please sign in to comment.