mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 09:23:00 +00:00
Formatting
This commit is contained in:
1 parent
b20df39f0f
commit
de07c77387
1 file changed
+2
-1
+2
-1
@@ -360,7 +360,8 @@ impl Options {
|
|||||||
Some("none") => OutputStyleOption::Disabled,
|
Some("none") => OutputStyleOption::Disabled,
|
||||||
_ => {
|
_ => {
|
||||||
if options
|
if options
|
||||||
.command_output_policies.contains(&CommandOutputPolicy::Inherit)
|
.command_output_policies
|
||||||
|
.contains(&CommandOutputPolicy::Inherit)
|
||||||
|| !io::stdout().is_terminal()
|
|| !io::stdout().is_terminal()
|
||||||
{
|
{
|
||||||
OutputStyleOption::Basic
|
OutputStyleOption::Basic
|
||||||
|
|||||||
Reference in new issue
Block a user