tempest-framework
tempest-framework copied to clipboard
[Bug]: Interactive CLI screen isn't properly cleared when rerendered
Tempest Version
1.0-alpha1
PHP Version
8.3
Operating System
MacOS
Description
See https://github.com/tempestphp/tempest-framework/pull/513#issuecomment-2407466902 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
https://github.com/tempestphp/tempest-framework/pull/576
Not fixed: try with cache:clear and select two cached