From 046548a927a29c2319f57908e02778e3b5397a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20S=C3=B6derberg?= Date: Fri, 20 Mar 2026 00:22:01 +0100 Subject: [PATCH] Fixed terminal title --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 84d9dda..dad31a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,19 +30,17 @@ fn main() { .creation_flags(CREATE_NO_WINDOW) .spawn(); } else { - // Extract just the script name let script_name = Path::new(&args[0]) .file_name() .map(|s| s.to_string_lossy().into_owned()) .unwrap_or_else(|| String::from("Script")); - // Format the exact title you want let tab_title = format!("Python > {}", script_name); let mut cmd_args = vec![ String::from("/k"), String::from("TITLE"), - tab_title, // Apply your custom title here + tab_title, String::from("&"), String::from("python"), ];