Windows escape sequence fix

Our logger wasn't entirely compatible with Windows escape sequences when not in TTY mode. This fix changes the stderr to one that automatically transforms the escape sequences to some Windows compatible ones.

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume
2022-03-02 12:13:26 +01:00
parent 17c45ea36c
commit 52655916c6
3 changed files with 5 additions and 1 deletions

1
go.mod
View File

@@ -15,6 +15,7 @@ require (
github.com/gofrs/flock v0.8.1
github.com/google/uuid v1.3.0
github.com/hashicorp/go-version v1.4.0
github.com/mattn/go-colorable v0.1.6
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/mitchellh/go-homedir v1.1.0
github.com/moby/buildkit v0.10.0-rc2