While these codes can be understood on newer versions of Windows 10 (if we were to set the console properties correctly) in general they do not work and cause garbage to be printed to the screen. For now, just don't colorize output on Windows.
13 lines
204 B
Go
13 lines
204 B
Go
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
//+build windows
|
|
|
|
package colors
|
|
|
|
import (
|
|
"github.com/reconquest/loreley"
|
|
)
|
|
|
|
func init() {
|
|
loreley.Colorize = loreley.ColorizeNever
|
|
}
|