We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System (please complete the following information):
window
1.13
1.1.1
ENV info on the terminal (by command env | grep -i TERM)
env | grep -i TERM
// paste env info. Windows 11 Terminal
Describe the bug
Multiple goroutines calling Theme.Tips concurrently may cause mixed output
Since both t.Print and Printf perform I/O operations, concurrent writes to the output may lead to interleaved output.
To Reproduce
// go code go func1() { color.Warn.Tips("some text 1") }() go func2() { color.Error.Tips("some text 2") }()
Expected behavior
concurrent calls can output correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
inhere
No branches or pull requests
System (please complete the following information):
window
[e.g. linux, macOS]1.13
[e.g.1.13
]1.1.1
[e.g.1.1.1
]ENV info on the terminal (by command
env | grep -i TERM
)Describe the bug
Multiple goroutines calling Theme.Tips concurrently may cause mixed output
Since both t.Print and Printf perform I/O operations, concurrent writes to the output may lead to interleaved output.
To Reproduce
Expected behavior
concurrent calls can output correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: