Skip to content

Commit 480c2b5

Browse files
committed
Minor tweaks
1 parent a1eb2f2 commit 480c2b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ method, which returns an instance of
334334
$section1->clear(2);
335335
// Output is now completely empty!
336336

337-
// Allow limiting the height of a console section
337+
// setting the max height of a section will make new lines replace the old ones
338338
$section1->setMaxHeight(2);
339339
$section1->writeln('Line1');
340340
$section1->writeln('Line2');
@@ -350,7 +350,7 @@ method, which returns an instance of
350350

351351
.. versionadded:: 6.2
352352

353-
Allow limiting the height of a console section was introduced in Symfony 6.2.
353+
The feature to limit the height of a console section was introduced in Symfony 6.2.
354354

355355
Output sections let you manipulate the Console output in advanced ways, such as
356356
:ref:`displaying multiple progress bars <console-multiple-progress-bars>` which

0 commit comments

Comments
 (0)