Make the end term cap work with tmux