fix: cpu and mem in white terminals, cyan makes things stand out nicely closes #415

This commit is contained in:
rvcas 2023-07-11 18:50:27 -04:00
parent 914b8d4e74
commit a36cc7d631
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 2 additions and 2 deletions

View File

@ -298,10 +298,10 @@ fn fmt_test(eval_info: &EvalInfo, max_mem: usize, max_cpu: usize, styled: bool)
}) })
}, },
mem_unit = pretty::style_if(styled, mem_pad, |s| s mem_unit = pretty::style_if(styled, mem_pad, |s| s
.if_supports_color(Stderr, |s| s.bright_white()) .if_supports_color(Stderr, |s| s.cyan())
.to_string()), .to_string()),
cpu_unit = pretty::style_if(styled, cpu_pad, |s| s cpu_unit = pretty::style_if(styled, cpu_pad, |s| s
.if_supports_color(Stderr, |s| s.bright_white()) .if_supports_color(Stderr, |s| s.cyan())
.to_string()), .to_string()),
module = pretty::style_if(styled, script.name.clone(), |s| s module = pretty::style_if(styled, script.name.clone(), |s| s
.if_supports_color(Stderr, |s| s.bright_blue()) .if_supports_color(Stderr, |s| s.bright_blue())