Updated the mouse support for xterm and rxvt.