nunomaduro/termwind

Using `passthru()` produces jumbled output

daftspunk opened this issue · 2 comments

Hello, fantastic work on this library. The new Artisan improvements are great.

Problem - Using passthru() produces jumbled output.

POC - Any Laravel console command that calls passthru to call commands, so they do not share the main process.

public function handle()
{
    passthru('composer update');
}

Using Laravel 9.20 - Output normal

image

Using Laravel 9.21 - Actual output

image

Using Laravel 9.21 - Expected output

image

There is anyway we get the original size of the terminal?