diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-05 07:30:34 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-05 07:30:34 -0500 |
commit | f9c5cb86304748baf0da99126bf75c5a3cd3e773 (patch) | |
tree | 7583e15d3e6b82db02b3815516309fc4bb4ebfb3 /src/shell/mod.rs | |
parent | a30174620d6b64f838989a634c265a353b2ab117 (diff) | |
download | nbsh-f9c5cb86304748baf0da99126bf75c5a3cd3e773.tar.gz nbsh-f9c5cb86304748baf0da99126bf75c5a3cd3e773.zip |
and more simplification
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r-- | src/shell/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shell/mod.rs b/src/shell/mod.rs index a19ae09..2b8c849 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -1,6 +1,5 @@ use crate::shell::prelude::*; -use async_std::stream::StreamExt as _; use textmode::Textmode as _; mod event; @@ -128,7 +127,7 @@ pub enum Action { pub struct Shell { readline: readline::Readline, history: history::History, - env: crate::Env, + env: Env, focus: Focus, scene: Scene, escape: bool, @@ -141,7 +140,7 @@ impl Shell { Self { readline: readline::Readline::new(), history: history::History::new(), - env: crate::Env::new(), + env: Env::new(), focus: Focus::Readline, scene: Scene::Readline, escape: false, |