Compare commits

..

No commits in common. "v1.3.0" and "v1.2.0" have entirely different histories.

View file

@ -2,10 +2,8 @@ use std::{env, io::{stdin, stdout, Write}, path::Path, process::{Child, Command,
fn main(){ fn main(){
loop { loop {
println!("");
println!("{}", env::current_dir().unwrap().to_str().unwrap());
print!("> "); print!("> ");
let _ = stdout().flush(); stdout().flush();
let mut input = String::new(); let mut input = String::new();
stdin().read_line(&mut input).unwrap(); stdin().read_line(&mut input).unwrap();
@ -68,7 +66,7 @@ fn main(){
if let Some(mut final_command) = previous_command { if let Some(mut final_command) = previous_command {
// block until the final command has finished // block until the final command has finished
let _ = final_command.wait(); final_command.wait();
} }
} }