diff --git a/crates/nu-table/src/table.rs b/crates/nu-table/src/table.rs index 55815f2959..78fdd5211e 100644 --- a/crates/nu-table/src/table.rs +++ b/crates/nu-table/src/table.rs @@ -750,6 +750,11 @@ impl WrappedTable { } fn new_print_table(&self, color_hm: &HashMap) { + #[cfg(windows)] + { + let _ = ansi_term::enable_ansi_support(); + } + if self.data.is_empty() { return; }