From fcecd97224926625cf542e765d0f324c0b6e6c02 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 13 May 2018 21:19:26 +0200 Subject: [PATCH] Add ansi_term import for Windows, see #107 --- src/app.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.rs b/src/app.rs index 2bb22670..b0e90851 100644 --- a/src/app.rs +++ b/src/app.rs @@ -6,6 +6,9 @@ use std::collections::HashSet; use std::env; use style::{OutputComponent, OutputComponents}; +#[cfg(windows)] +use ansi_term; + pub struct App { pub matches: ArgMatches<'static>, interactive_output: bool,