Mouse and history updates for tmux.