Get stream errors working

This commit is contained in:
Jonathan Turner
2019-06-16 05:52:55 +12:00
parent a3c3c4d776
commit 910869b79d
13 changed files with 68 additions and 27 deletions

View File

@ -113,7 +113,7 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
let (obj, cwd) = {
let env = context.env.lock().unwrap();
let last = env.last().unwrap();
let last = env.back().unwrap();
(last.obj().clone(), last.path().display().to_string())
};
let readline = match obj {