Tmux unusable in 3.5.0 - closing window always detaches session
NOTE: verified this does not happen in previous version 3.4.23. I removed my 3.5.0 iterm2 and installed the old 3.4.23 version and bug is gone.
- iTerm2 version: 3.5.0
- OS version: Sonoma 14.3.1 com.googlecode.iterm2.plist`
Detailed steps to reproduce the problem
- Open iterm2
- ssh into my company's machines
- run tmux -u -CC new -A -s main
- My windows from tmux session will open, i have the setting as opening separate windows
- Press cmd + w to close a window OR close a window by clicking red button top right
What happened
The entire tmux session gets detached
What should have happened
Only the window should close, and entire session should detach only if it's the last window