mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-29 06:56:57 +03:00
parent
89737785f8
commit
daf5ced498
@ -20,6 +20,9 @@
|
||||
- The `plot_parametrized.py` script now infers the parameter name, and its `--parameter-name` argument has been deprecated. See #253, #318.
|
||||
|
||||
## Bugfixes
|
||||
|
||||
- Keep output colorized when the output is not interactive and `--style=full` or `--style=color` is used.
|
||||
|
||||
## Other
|
||||
## Packaging
|
||||
|
||||
|
@ -159,7 +159,8 @@ fn build_hyperfine_options(matches: &ArgMatches<'_>) -> Result<HyperfineOptions,
|
||||
OutputStyleOption::Basic | OutputStyleOption::NoColor => {
|
||||
colored::control::set_override(false)
|
||||
}
|
||||
_ => {}
|
||||
OutputStyleOption::Full | OutputStyleOption::Color => colored::control::set_override(true),
|
||||
OutputStyleOption::Disabled => {}
|
||||
};
|
||||
|
||||
options.shell = matches
|
||||
|
Loading…
Reference in New Issue
Block a user