8000 fix issue (should pass) · symfony/symfony@22a4b09 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22a4b09

Browse files
committed
fix issue (should pass)
1 parent 159bd27 commit 22a4b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Helper/ProgressBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private function overwrite(string $message): void 69D7
441441
if ($this->overwrite) {
442442
if (null !== $this->previousMessage) {
443443
if ($this->output instanceof ConsoleSectionOutput) {
444-
$lines = floor(Helper::strlen($message) / $this->terminal->getWidth()) + $this->formatLineCount + 1;
444+
$lines = floor(Helper::strlenWithoutDecoration($this->output->getFormatter(), $message) / $this->terminal->getWidth()) + $this->formatLineCount + 1;
445445
$this->output->clear($lines);
446446
} else {
447447
// Erase previous lines

0 commit comments

Comments
 (0)
0