Skip to content

Commit

Permalink
fix: 修复cmd窗口无法正常显示颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed Jul 30, 2024
1 parent ff4ef66 commit e6fc877
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ fn main() {
// 清理缓存
launch_clean().unwrap();

// 启用虚拟终端
colored::control::set_virtual_terminal(true).unwrap();

// 配置环境变量
let args = Args::parse();
if args.qa {
Expand Down

0 comments on commit e6fc877

Please sign in to comment.