Skip to content

Commit

Permalink
Actually show the console window on windows 😭
Browse files Browse the repository at this point in the history
  • Loading branch information
ktwrd committed Jun 12, 2024
1 parent d123067 commit 77f8e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 77f8e5b

Please sign in to comment.