From d364ebcbc91204c748173f0cb9fd9efabfe10115 Mon Sep 17 00:00:00 2001 From: thedevbirb Date: Wed, 23 Oct 2024 16:29:08 +0200 Subject: [PATCH] chore(sidecar): add most important feature -- ascii art on startup --- bolt-sidecar/src/driver.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bolt-sidecar/src/driver.rs b/bolt-sidecar/src/driver.rs index 2c433eed5..8d2a66abc 100644 --- a/bolt-sidecar/src/driver.rs +++ b/bolt-sidecar/src/driver.rs @@ -224,6 +224,15 @@ impl SidecarDriver { /// Any errors encountered are contained to the specific `handler` in which /// they occurred, and the driver will continue to run as long as possible. pub async fn run_forever(mut self) -> ! { + const BOLT: &str = r#" + ██████╗ ██████╗ ██╗ ████████╗ + ██╔══██╗██╔═══██╗██║ ╚══██╔══╝ + ██████╔╝██║ ██║██║ ██║ + ██╔══██╗██║ ██║██║ ██║ + ██████╔╝╚██████╔╝███████╗██║ + ╚═════╝ ╚═════╝ ╚══════╝╚═╝ "#; + println!("{BOLT}"); + loop { tokio::select! { Some(api_event) = self.api_events_rx.recv() => {