stuff
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
mod data;
|
||||
mod solve;
|
||||
use std::io::Write;
|
||||
|
||||
pub use data::*;
|
||||
pub use solve::*;
|
||||
|
||||
@@ -16,6 +18,8 @@ fn main() {
|
||||
];
|
||||
usage();
|
||||
print_priority(&priority);
|
||||
print!("> ");
|
||||
let _ = std::io::stdout().flush();
|
||||
let input = std::io::stdin();
|
||||
for line in input.lines() {
|
||||
let Ok(line) = line else {
|
||||
@@ -33,6 +37,8 @@ fn main() {
|
||||
println!("unknown command {cmd}");
|
||||
}
|
||||
}
|
||||
print!("> ");
|
||||
let _ = std::io::stdout().flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user