Support changing the cursor under tmux.

This makes use of tmux's escape hatch to communicate to the terminal
directly.