feat: add current directory display in main loop
All checks were successful
Release / Release (push) Successful in 34s
All checks were successful
Release / Release (push) Successful in 34s
This commit is contained in:
parent
5961309bab
commit
0a5d3e11e4
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ use std::{env, io::{stdin, stdout, Write}, path::Path, process::{Child, Command,
|
|||
|
||||
fn main(){
|
||||
loop {
|
||||
println!("");
|
||||
println!("{}", env::current_dir().unwrap().to_str().unwrap());
|
||||
print!("> ");
|
||||
let _ = stdout().flush();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue