idk
This commit is contained in:
FantasyPvP
2023-09-30 12:10:03 +01:00
parent 0c72895f66
commit 9e7335e05f
11 changed files with 94 additions and 109 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ impl Application for Calculator {
if args.len() == 0 {
loop {
print!("enter equation > ");
let inp = std::io::stdin().await;
let inp = std::io::Stdin::readline().await;
println!("{}", inp);
if inp == String::from("exit\n") {
return Ok(());