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

Appearance settings

The documentation about console sections should mention that the height of the terminal is the limit for overwriting #18738

Copy link
Copy link
Closed
@stof

Description

@stof
Issue body actions

Terminals only allow overwriting the visible content.

https://symfony.com/doc/current/console.html#output-sections should make that clear.
the first use case mentioned in the page (showing multiple progress bars) is fine as progress bars don't grow in height. However, the second mentioned use case (appending content in a table) is more risky (if the table is in the first section and you only append to it and the section is a small one in height, it will work. But that won't work if you try to have 2 sections showing tables in which you append).

See symfony/symfony#35012 for some discussions about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsolehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.