From 77f8e5b785e2bfa67b1d437868b8b3585e558024 Mon Sep 17 00:00:00 2001 From: kate Date: Wed, 12 Jun 2024 20:43:23 +0800 Subject: [PATCH] Actually show the console window on windows :sob: --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 23860c6..493ba02 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,8 @@ pub const DEFAULT_LOG_LEVEL: LevelFilter = LevelFilter::Trace; pub const DEFAULT_LOG_LEVEL: LevelFilter = DEFAULT_LOG_LEVEL_RELEASE; fn main() { + #[cfg(target_os = "windows")] + let _ = winconsole::window::show(); #[cfg(target_os = "windows")] let _ = winconsole::console::set_title(format!("beans v{}", beans_rs::VERSION).as_str());