Enable ANSI support on Windows, closes #2

This commit is contained in:
sharkdp authored and David Peter committed 2018-11-21 19:36:20 +01:00
1 parent 269246097c
commit 22b544393b
1 file changed
+4
+4
View File
@@ -242,6 +242,10 @@ fn run() -> io::Result<()> {
}
fn main() {
// Enable ANSI support for Windows
#[cfg(windows)]
let _ = ansi_term::enable_ansi_support();
let result = run();
match result {
Err(err) => {