I suppose this is something related to tmux, but I create the splits with tmex, and I wanted to know what can I do to keep the splits when I close a terminal.
This is the command that I use to create the sessions:
tmex "$SESSION" --layout="2{41}" "cd $REPO_NAME; clear; $EDITOR" "cd $REPO_NAME; clear"
The one that always closes is the bottom split:
Thanks in advance.