merged branch AntonioAngelino/2.3 (PR #8258)
This PR was merged into the 2.3 branch.
Discussion
----------
fix-progressbar-start
lastMessagesLength and barCharOriginal should be reset if you want to use 2 or more Progress Bars in the same command flow.
Commits
-------
e65723c
fix-progressbar-start
This commit is contained in:
commit
4dc58adbad
|
@ -186,6 +186,8 @@ class ProgressHelper extends Helper
|
|||
$this->current = 0;
|
||||
$this->max = (int) $max;
|
||||
$this->output = $output;
|
||||
$this->lastMessagesLength = 0;
|
||||
$this->barCharOriginal = '';
|
||||
|
||||
if (null === $this->format) {
|
||||
switch ($output->getVerbosity()) {
|
||||
|
|
Reference in New Issue