From 162a62fb6f0de4d70ba65044af2c67094ee59488 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 9 Nov 2025 16:22:34 +0800 Subject: fix: Windows support --- src/bin/jvv.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/bin') diff --git a/src/bin/jvv.rs b/src/bin/jvv.rs index 6c3258a..9f80e0e 100644 --- a/src/bin/jvv.rs +++ b/src/bin/jvv.rs @@ -189,10 +189,7 @@ async fn main() { // Init colored #[cfg(windows)] - if let Err(err) = colored::control::set_virtual_terminal(true) { - eprintln!("{}", t!("jvv.fail.colored_control", err = err.to_string())); - return; - } + let _ = colored::control::set_virtual_terminal(true); let Ok(parser) = JustEnoughVcsVault::try_parse() else { println!("{}", md(t!("jvv.help"))); -- cgit