You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node has https://nodejs.org/api/tty.html#writestreamhascolorscount-env derived from chalk's supports-color that got added in node 10. not only would using it would make color detection more accurate, but it also would make the package more in line with node. it would also fix issues like #41.
I've noticed that color detection is a bit spotty with CI still, which is likely caused by this not working. Would be nice to fix up. More than willing to make a PR if helpful
node has https://nodejs.org/api/tty.html#writestreamhascolorscount-env derived from chalk's
supports-color
that got added in node 10. not only would using it would make color detection more accurate, but it also would make the package more in line with node. it would also fix issues like #41.yoctocolors
seems to already use this API by doingtty?.WriteStream?.prototype?.hasColors?.() ?? false
The text was updated successfully, but these errors were encountered: