summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-05 16:16:57 -0500
committerJesse Luehrs <doy@tozt.net>2022-03-05 16:16:57 -0500
commit0a36ee5f441260f13beda17eb5482e6bd0f9eb8c (patch)
treef3bb6a3ae6cb60b6d8b1e53ec8bf8a59d12aa0be /src
parent9739d754e72d82248c93e7d54d9b7f0cac669c28 (diff)
downloadnbsh-0a36ee5f441260f13beda17eb5482e6bd0f9eb8c.tar.gz
nbsh-0a36ee5f441260f13beda17eb5482e6bd0f9eb8c.zip
add tokio-console support
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index ca175d0..03440e1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -52,6 +52,9 @@ async fn async_main(opt: Opt) -> Result<i32> {
return runner::main(command, &mut shell_write).await;
}
+ #[cfg(nbsh_tokio_console)]
+ console_subscriber::init();
+
shell::main().await
}