Added better mouse support for tmux et al.