Skip to content

Add clear command to Console #26603

Closed
Closed
@dfridrich

Description

@dfridrich
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 2.8, 3., 4.

It would be great to add ability to clear the screen in Console. This feature should be implemented to Symfony\Component\Console\Style\SymfonyStyle class and should work like $io->clear();.

This can be done now using $output->write(sprintf("\033\143"));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions