Removed mouse support for terminal mode.