Added terminal mouse support.