Fix output with newlines
Fix output with newlines

When adding newlines using Frame->newline(), it only adds "\n" to the next row of the frame.
If the new output was smaller than the previous one (by removing items for example), simply writing"\n" over the line doesn't clear it, so I'm using \033[2K to clear the line beforehand.
php-school/cli-menu