File tree 1 file changed +7
-1
lines changed
components/console/helpers
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,14 @@ you can also set the current progress by calling the
46
46
47
47
.. caution ::
48
48
49
- The progress bar only works if your platform supports ANSI codes; on other
49
+ Prior to version 2.6, the progress bar only works if your platform supports ANSI codes; on other
50
50
platforms, no output is generated.
51
+
52
+ .. versionadded :: 2.6
53
+
54
+ If your platform doesn't support ANSI codes, updates to the progress bar are added as new lines.
55
+ To prevent the output from being flooded, adjust the `redrawFrequency ` accordingly. By default,
56
+ when using a `max `, the redraw frequency is set to *10% * of your `max `.
51
57
52
58
If you don't know the number of steps in advance, just omit the steps argument
53
59
when creating the :class: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar `
You can’t perform that action at this time.
0 commit comments