We have utmp with utempter now and that's the best we're going to get.
Notes for better mouse support.
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code