We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 (version 2004) go version go1.14.2 windows/amd64
Steps to reproduce:
package main import ( "fmt" "github.com/mattn/go-colorable" "sync" ) func main() { stdout := colorable.NewColorableStdout() wg := &sync.WaitGroup{} for i := 0; i < 3; i++ { wg.Add(1) go func() { _, _ = fmt.Fprintln(stdout, "\u001b[32mHello\u001b[0m", "World") wg.Done() }() } wg.Wait() }
go build mixed-output.go
mixed-output.exe
Mixed output:
Works fine in Git bash (MinGW):
The text was updated successfully, but these errors were encountered:
synchronize access to Console (fixes mattn#48)
e8149f0
0ef2a7a
b6d341e
Merge pull request #49 from segrey/sync-access-to-console
f6c0098
synchronize access to Console (fixes #48)
Thanks!
Sorry, something went wrong.
Thank you too.
No branches or pull requests
Windows 10 (version 2004)
go version go1.14.2 windows/amd64
Steps to reproduce:
go build mixed-output.go
mixed-output.exe
, the output is mixed.Mixed output:

Works fine in Git bash (MinGW):

The text was updated successfully, but these errors were encountered: