Extract tmux session detection