nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.27k stars 76 forks source link

[Bug] Console output does not affect `--no-ansi` option #175

Closed sebb-m0 closed 10 months ago

sebb-m0 commented 1 year ago

Hi,

coming from a different project, which uses termwind to style command output: https://github.com/TomasVotruba/lines/issues/35#issuecomment-1711297745

It's a symfony command, which uses build in options for coloring console output (or leave it as it is).

Using termwind as styling leads to ignoring the --no-ansi option.

Screenshot 2023-09-08 at 09 43 00

The screenshot shows the output, which shows ansi colors. That the colors are coliding with my iTerm2 agnoster theme leads me to that problem, that --no-ansi is not working.

xiCO2k commented 10 months ago

Hey @sebb-m0 I tried to replicate this issue with no success.

Will close this one, but keep me posted.