2145f56920
This PR was squashed before being merged into the 3.2 branch (closes #21958).
Discussion
----------
[Console] Fix bar width with multilines ProgressBar's format
| Q | A
| ------------- | ---
| Branch? | 3.2
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
The bar width is badly recalculated when we use multilines (``\n``) and bar placeholer (``%bar%``) in ProgressBar's format. The bar width is reduced because multilines is considered as a big oneline. This PR fixes this.
Commits
-------
|
||
---|---|---|
.. | ||
DebugFormatterHelper.php | ||
DescriptorHelper.php | ||
FormatterHelper.php | ||
Helper.php | ||
HelperInterface.php | ||
HelperSet.php | ||
InputAwareHelper.php | ||
ProcessHelper.php | ||
ProgressBar.php | ||
ProgressIndicator.php | ||
QuestionHelper.php | ||
SymfonyQuestionHelper.php | ||
Table.php | ||
TableCell.php | ||
TableSeparator.php | ||
TableStyle.php |