changed leader and default mouse to termianl mode