Fixed clear command for terminal output