mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Fix: windows build missed in nu_ansi_term upgrade
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ fn should_init_color(no_color: bool, force_color: bool) -> bool {
|
|||||||
{
|
{
|
||||||
// Required for windows 10
|
// Required for windows 10
|
||||||
// Fails to resolve for windows 8 so disable color
|
// Fails to resolve for windows 8 so disable color
|
||||||
match ansi_term::enable_ansi_support() {
|
match nu_ansi_term::enable_ansi_support() {
|
||||||
Ok(_) => true,
|
Ok(_) => true,
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
eprintln!("This version of Windows does not support ANSI colors");
|
eprintln!("This version of Windows does not support ANSI colors");
|
||||||
|
|||||||
Reference in New Issue
Block a user