\e[1K - clear from cursor to beginning of the line \r - goto beginning of the line \e[1J - clear from cursor to beginning of the screen. \e[H - Moves the cursor to top left corner