To me, this behaviour makes perfect sense and fits well with my intuition or mental model of how things work.
Thanks anyway for a good write up
Thanks anyway for a good write up
That said, I can understand why it would work this way for simplicity, if all sessions are hosted inside the same process.
Luckily for me, I never use more than one session at a time, so this doesn't affect me.
Your first spawn of tmux starts the tmux server, all your sessions will connect to this server
But if it is only one session you are using, w