Adding support for uxterm and tmux.