diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-09 16:22:34 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-09 16:22:34 +0800 |
| commit | 162a62fb6f0de4d70ba65044af2c67094ee59488 (patch) | |
| tree | 8401bd881ce5962b315bf9293b3f2ce80d3a9905 /src/bin/jvv.rs | |
| parent | 7b45feb5087ccbf90b316a01af0defaca20e6dfe (diff) | |
fix: Windows support
Diffstat (limited to 'src/bin/jvv.rs')
| -rw-r--r-- | src/bin/jvv.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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"))); |
