added xterm-256color and tmux support