TomasVotruba / lines

CLI tool for quick size measure of PHP project, runs anywhere
https://tomasvotruba.com/blog/easy-and-quick-way-to-measure-lines-of-code-in-php
MIT License
161 stars 4 forks source link

[Bug] Console output style and `--no-ansi` has no effect #35

Closed sebb-m0 closed 1 year ago

sebb-m0 commented 1 year ago

When I use lines in my console (iTerm, agnoster theme) the font for relative is not visible:

Screenshot 2023-09-08 at 09 40 06

the Content is there, so if I mark the output, I can see it:

Screenshot 2023-09-08 at 09 41 24

So I thought, the option --no-ansi would solve the problem, but this option is ignored and the output is the same as without the option:

Screenshot 2023-09-08 at 09 43 00

TomasVotruba commented 1 year ago

I think there is nothing we can do, as we're using symofny/console package here. It should be reported there.

I think :)

cc @xiCO2k Do you think it's related to termwind?

sebb-m0 commented 1 year ago

Do you think it's related to termwind?

I think so. Symfony console command should do it as expected. Looks like the termwind is ignoring it and put the styles afterwards.

TomasVotruba commented 1 year ago

@sebb-m0 In that case I think it should be opened in termwind repository, as we only use 3rd party package here as well.

xiCO2k commented 1 year ago

@sebb-m0 yes if you can report that on Termwind, I can check it later.

sebb-m0 commented 1 year ago

-> https://github.com/nunomaduro/termwind/issues/175