Remotely accessed tmux session not persisting tab colors on "tmux -CC attach"
- iTerm2 version: 3.0.13
- OS version: Mac OS X 10.10.5
Detailed steps to reproduce the problem:
- Login to a remote Linux server with a tmux session running with multiple tabs
- Issue 'tmux -CC attach', and when prompted, select all tmux windows to open in tabs
What happened: When a tmux window is opened as a tab in iTerm2 and assigned a color, the tab color assigned does not persist after disconnect and re-attaching to the session. They must be re-assigned manually after each session attach. For the most part it seems that all windows and tabs are re-opened in iTerm2 in the proper order from session-to-session, but the tab colors just do not. As far as I know, they never have; I've used iTerm2 for many years now, including from when the patches for tmux to work with it came out and I don't believe it's ever saved the tab/window colors.
What should have happened: tab colors should have persisted after attach.