Fix term issue with tmux