clear the terminal before drawing the board