add terminal mouse support