I create new sessions like
tmux -CC new-session -s NAME
.
Problem is that new session is opened in a new window, so the are 2 iterm2 windows. I want the session to be opened in a new tab in the same window.
Some sessions on some remote machines are open in a new tab(not window) just like i want, but i can't control it
I found a setting, which does this. Just go to Preferences and switch this option marked on the screenshot: