8000
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.
1 parent 159bd27 commit 22a4b09Copy full SHA for 22a4b09
src/Symfony/Component/Console/Helper/ProgressBar.php
@@ -441,7 +441,7 @@ private function overwrite(string $message): void 69D7
441
if ($this->overwrite) {
442
if (null !== $this->previousMessage) {
443
if ($this->output instanceof ConsoleSectionOutput) {
444
- $lines = floor(Helper::strlen($message) / $this->terminal->getWidth()) + $this->formatLineCount + 1;
+ $lines = floor(Helper::strlenWithoutDecoration($this->output->getFormatter(), $message) / $this->terminal->getWidth()) + $this->formatLineCount + 1;
445
$this->output->clear($lines);
446
} else {
447
// Erase previous lines
0 commit comments