Auto expand the startup command

This commit is contained in:
Lance Pioch 2024-04-12 02:04:03 -04:00
parent 695ebd35a4
commit 15971aaa94

View File

@ -265,8 +265,7 @@ class ServerResource extends Resource
->required() ->required()
->live() ->live()
->rows(function ($state) { ->rows(function ($state) {
return str($state)->explode("\n")->reduce(fn (int $carry, $line) return str($state)->explode("\n")->reduce(fn (int $carry, $line) => $carry + floor(strlen($line) / 125),
=> $carry + floor(strlen($line) / 125),
0); 0);
}) })
->columnSpanFull(), ->columnSpanFull(),