If the output is capable of using ANSI escape codes, this will attempt to
overwrite the previous frame. But if the output is not ANSI-compatible,
this will display the $placeholder instead. So, to display an endless
animation only where it's safe, use:
$animation = new ConsoleAnimation($output, $frames);
do {
$animation->render();
} while ($output->isDecorated());