mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 01:21:25 +00:00
1 parent
89737785f8
commit
daf5ced498
2 files changed
+5
-1
No files matched your search
@@ -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.
|
- The `plot_parametrized.py` script now infers the parameter name, and its `--parameter-name` argument has been deprecated. See #253, #318.
|
||||||
|
|
||||||
## Bugfixes
|
## Bugfixes
|
||||||
|
|
||||||
|
- Keep output colorized when the output is not interactive and `--style=full` or `--style=color` is used.
|
||||||
|
|
||||||
## Other
|
## Other
|
||||||
## Packaging
|
## Packaging
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -159,7 +159,8 @@ fn build_hyperfine_options(matches: &ArgMatches<'_>) -> Result<HyperfineOptions,
|
|||||||
OutputStyleOption::Basic | OutputStyleOption::NoColor => {
|
OutputStyleOption::Basic | OutputStyleOption::NoColor => {
|
||||||
colored::control::set_override(false)
|
colored::control::set_override(false)
|
||||||
}
|
}
|
||||||
_ => {}
|
OutputStyleOption::Full | OutputStyleOption::Color => colored::control::set_override(true),
|
||||||
|
OutputStyleOption::Disabled => {}
|
||||||
};
|
};
|
||||||
|
|
||||||
options.shell = matches
|
options.shell = matches
|
||||||
|
|||||||
Reference in new issue
Block a user