TMUX session requires multiple attempts to open session window
Bug report
- iTerm2 version: Build 3.4.21
- OS version: Version 13.5.2 (22G91)
- Attach plist com.googlecode.iterm2.plist
- Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer. Example of issue
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- Open iterm
- Use shortcut to launch tmux session (e.g. cmd+^+u)
- tmux window opens, but does not show active session window
- cmd+q to close tmux window; repeat steps 2..3 until session window opens with prompt (see attached gif)
What happened
Regularly, when connecting to a remote host using tmux integration, the session windows fail to appear. Connecting multiple times will eventually lead to the session appearing as expected.
The remote host is functioning properly; connecting via a straight SSH session reliably works. This problem appears over several different hosts running a variety of linux OSs
What should have happened
Opening a window with tmux integration should reliably launch the shell windows.