Replaced "\033c" with "\033c\033[2J" & refactoring