to completely clear the last line of the terminal