mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 01:21:25 +00:00
Don't disable styling on Windows
This commit is contained in:
1 parent
00295f3f7f
commit
92a0d4cfad
1 file changed
+1
-5
+1
-5
@@ -146,11 +146,7 @@ fn main() {
|
|||||||
OutputStyleOption::Basic
|
OutputStyleOption::Basic
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
if cfg!(target_os = "windows") {
|
|
||||||
options.output_style = OutputStyleOption::Basic;
|
|
||||||
}
|
|
||||||
|
|
||||||
if options.output_style == OutputStyleOption::Basic {
|
if options.output_style == OutputStyleOption::Basic {
|
||||||
colored::control::set_override(false);
|
colored::control::set_override(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user