Change the term_mouse interface a little so that it gets passed