iTerm opens in new tab instead of new window using Site Shell

Bug Summary

I am not sure if this is a bug or a feature, but every-time I open a site shell w/ iTerm set as my terminal, Local opens iTerm2 in a new tab (where I prefer a new Window). I have confirmed that iTerm is setup correctly, so I’m not sure if you guys coded it that way or not.

The reason I ask is because I use MacOS Spaces a lot so I want it to open a new window in the space I’m on, not a tab in another window that might be in another space.

Steps to reproduce

Set iTerm as the terminal, open an iTerm Window, open a Site Shell, you should see a new tab open in the current window.

Environment Info

Describe your environment.

  • What Operating System are you using?
    MacOS Sonoma

  • What version of Local is installed?
    8.0.x

Based on what I’m reading in iTerm’s documentation I think this might be intentional for their part. I was able to replicate this with your steps, and then it seems like your best bet is to drag your new tab out to pop it into its own window like you would a browser tab.

But I have other apps that use iTerm as my default terminal and it opens a new window…

I just tried defaults write com.googlecode.iterm2 OpenFileInNewWindows -bool false which seems to do the trick (so it seems @Nick-B you were right), but I cannot, for the life of me, figure out what setting that switches in the iTerm settings UI!