Fixed some terminal detection issues with tmux.