Closed tw4452852 closed 10 months ago
No color mode shouldn't affect what is actually stored in styled texts; it should only affect how they are printed. If users write code that uses styled texts but doesn't actually print them, it shouldn't be affected by NO_COLOR.
I am also slightly torn on use of a global flag, but this one feels justified. It gives the user no way to opt out of the behavior, but that may actually be a good thing.
@xiaq How about the updated version?
Should help with #695