added a create-project system to assembler, and fixed a couple of parsing bugs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use std::io::Write;
|
||||
|
||||
pub fn input(prompt: &str) -> String {
|
||||
print!("{}\n > ", prompt);
|
||||
std::io::stdout().flush().unwrap();
|
||||
let mut input = String::new();
|
||||
std::io::stdin().read_line(&mut input).unwrap();
|
||||
input.trim().to_string()
|
||||
}
|
||||
Reference in New Issue
Block a user