mirror of
https://github.com/bootandy/dust.git
synced 2026-04-28 10:43:04 -07:00
Fix: windows build missed in nu_ansi_term upgrade
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user