Merge pull request #1 from ams-hash/current_dir

Made it so it shows current directory
This commit is contained in:
Able 2021-11-06 08:28:33 -05:00 committed by GitHub
commit 3231678901

View file

@ -10,7 +10,7 @@ fn main() {
// use the `>` character as the prompt
// need to explicitly flush this to ensure it prints before read_line
print!("~> ");
print!("{} ~> ", std::env::current_dir().unwrap().display());
stdout().flush().unwrap();
let mut input = String::new();