alex-kar commented on PR #149:
URL: https://github.com/apache/iceberg-go/pull/149#issuecomment-2351738067
@zeroshade
```
Can we only disable the colors for the tests? I personally don't want to
lose the colors for regular output and use of the CLI, perhaps we make an
option for disabling colors or a global var that the test can set to disable it?
```
It's something that `pterm` provides us out of the box. We just tern global
variable to disable colors in test only.
Please, see in my test example
```
pterm.SetDefaultOutput(&buf)
pterm.DisableColor()
text{}.DescribeTable(table)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]