Cmd-W on Preferences window closes last open iterm window
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.9
- OS version: 10.14.1
- Preferences: com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- Open Preferences (cmd+,)
- Cmd-W on active preferences window
What happened: preferences remains open, but my last active iterm window had all tabs closed without warning
What should have happened: editor window should close
Note: I also override the keyboard shortcut in MacOS for Iterm's Close to not be Cmd-W to avoid accidentally closing an iterm tab (e.g., if I think Chrome is active window but Iterm is instead). I don't think this would be related to my above issue, but maybe.