Fix: windows build missed in nu_ansi_term upgrade

This commit is contained in:
andy.boot
2026-01-08 20:01:29 +00:00
parent 28018bc8c2
commit d26971f869

View File

@@ -69,7 +69,7 @@ fn should_init_color(no_color: bool, force_color: bool) -> bool {
{
// Required for windows 10
// Fails to resolve for windows 8 so disable color
match ansi_term::enable_ansi_support() {
match nu_ansi_term::enable_ansi_support() {
Ok(_) => true,
Err(_) => {
eprintln!("This version of Windows does not support ANSI colors");