Skip to content

[Bug]: Interactive CLI screen isn't properly cleared when rerendered #574

@brendt

Description

@brendt

Tempest Version

1.0-alpha1

PHP Version

8.3

Operating System

MacOS

Description

See #513 (comment) as an example

Steps to Reproduce

    #[ConsoleCommand('interactive:ask')]
    public function ask(): void
    {
        $answer = $this->console->ask('Hello?');

        $this->console->writeln();

        $this->console->success($answer);
    }

Only happens when there's an empty line written before

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions