tmux windows inherit the default color scheme/theme instead of the one from the host profile.
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.0.4
- OS version: 10.11.6
- Attach com.googlecode.iterm2.plist/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
Detailed steps to reproduce the problem:
- Set the background color to "red" in the default profile
- Create a new profile and set the background to "green"
- Open a tab with the new profile and run:
ssh -t remote_machine "tmux -CC new -s test"
What happened: A tmux window opens with a red background
What should have happened: A tmux window opens with a green background (since it was called from a terminal with a green background)