nunomaduro / termwind

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

There's no output at all when an artisan call that uses termwind is called within a command that also uses termwind #161

Closed emiliopedrollo closed 1 year ago

emiliopedrollo commented 1 year ago

A simple example of this issue can be found here: spatie/laravel-health#150.

It happens because Termwind has an static variable $renderer for it's output and when an Artisan call is made with a command that also uses Termwind this static variable is updated to use BufferedOutput instead of the default ConsoleOutput.

xiCO2k commented 1 year ago

No issue here, maybe a fix is needed on laravel-health.