From daeec08763db1e5c2433d2bf47196579956244a2 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Mon, 16 Jan 2023 18:00:50 -0600 Subject: [PATCH] fix linux build --- bin/app/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/app/src/main.rs b/bin/app/src/main.rs index 44275902..3b7282dd 100644 --- a/bin/app/src/main.rs +++ b/bin/app/src/main.rs @@ -4,7 +4,8 @@ use hemtt_error::DisplayStyle; fn main() { - if cfg!(windows) && ansi_term::enable_ansi_support().is_err() { + #[cfg(windows)] + if ansi_term::enable_ansi_support().is_err() { colored::control::set_override(false); } if let Err(e) = hemtt::execute(&hemtt::cli().get_matches()) {