diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-10 12:44:33 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-10 12:44:33 -0500 |
commit | 165033dd11cb6d200b9b9233840dff96e6468e0d (patch) | |
tree | 4140f73a8dd5ddbd07624450dda598f12cc653f2 /src/main.rs | |
parent | d0c26780d93a14be4d70bf2c784b79b3b0f06186 (diff) | |
download | nbsh-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.rs | 3 |
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() { |