From 0a36ee5f441260f13beda17eb5482e6bd0f9eb8c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 5 Mar 2022 16:16:57 -0500 Subject: add tokio-console support --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 { return runner::main(command, &mut shell_write).await; } + #[cfg(nbsh_tokio_console)] + console_subscriber::init(); + shell::main().await } -- cgit v1.2.3-54-g00ecf