summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-10 12:44:33 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-10 12:44:33 -0500
commit165033dd11cb6d200b9b9233840dff96e6468e0d (patch)
tree4140f73a8dd5ddbd07624450dda598f12cc653f2 /src/main.rs
parentd0c26780d93a14be4d70bf2c784b79b3b0f06186 (diff)
downloadnbsh-165033dd11cb6d200b9b9233840dff96e6468e0d.tar.gz
nbsh-165033dd11cb6d200b9b9233840dff96e6468e0d.zip
more refactoring, make commands blocking by default and handle ^C/^Z
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 0d1bb69..97624df 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,8 +8,7 @@ mod nbsh;
mod repl;
async fn async_main() -> anyhow::Result<()> {
- let nbsh = nbsh::Nbsh::new();
- nbsh.run().await
+ nbsh::run().await
}
fn main() {