Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd16ee5

Browse files
committed
Added note about ProgressBar changes
1 parent1ea6304 commitbd16ee5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎components/console/helpers/progressbar.rst‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ you can also set the current progress by calling the
4646

4747
..caution::
4848

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
5050
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`.
5157

5258
If you don't know the number of steps in advance, just omit the steps argument
5359
when creating the:class:`Symfony\\Component\\Console\\Helper\\ProgressBar`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp