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
@ -2,6 +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();
|
let _ = stdout().flush();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user