We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1ea6304 commit4e2142dCopy full SHA for 4e2142d
components/console/helpers/progressbar.rst
@@ -46,8 +46,16 @@ you can also set the current progress by calling the
46
47
..caution::
48
49
- The progress bar only works if your platform supports ANSI codes; on other
50
- platforms, no output is generated.
+ Prior to version 2.6, the progress bar only works if your platform
+ supports ANSI codes; on other platforms, no output is generated.
51
+
52
+..versionadded::2.6
53
+ If your platform doesn't support ANSI codes, updates to the progress
54
+ bar are added as new lines. To prevent the output from being flooded,
55
+ adjust the
56
+:method:`Symfony\\Component\\Console\\Helper\\ProgressBar::setRedrawFrequency`
57
+ accordingly. By default, when using a ``max``, the redraw frequency
58
+ is set to *10%* of your ``max``.
59
60
If you don't know the number of steps in advance, just omit the steps argument
61
when creating the:class:`Symfony\\Component\\Console\\Helper\\ProgressBar`