We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3487b2 + f04b974 commit bc67128Copy full SHA for bc67128
src/Console/InstallCommand.php
@@ -181,7 +181,7 @@ private function outro(): void
181
$text = 'Enjoy the boost 🚀 Next steps: ';
182
$paddingLength = (int) (floor(($this->terminal->cols() - mb_strlen($text.$label)) / 2)) - 2;
183
184
- echo "033円[42m033円[2K".str_repeat('', $paddingLength); // Make the entire line have a green background
+ echo "033円[42m033円[2K".str_repeat('', max(0, $paddingLength)); // Make the entire line have a green background
185
echo $this->black($this->bold($text.$link)).$this->reset(PHP_EOL).$this->reset(PHP_EOL);
186
}
187
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments