add terminal clearing