Add tmux support

tmux can forward queries to the actual terminal, screen can not.