Doesn't work for iTerm2's Hotkey Window
I use iTerm2's Hotkey Window feature to have a globally-accessible terminal by hitting ⌘+`. Activating Termipal from this terminal will attach it to the last focused window before opening the terminal.
If I had to guess, I'd say this is because activating the Hotkey window doesn't switch the focused app to iTerm2. You can see from this screenshot that my menu bar still says "FirefoxDeveloperEdition" even though I'm in the terminal.
If I activate Termipal from a regular iTerm2 window it works fine btw
Also doesn't seem to work for iTerm2 in full screen mode. Might be a related issue, but both issues could also be a limitation of iTerm2 itself.
+1 for this. As soon as I click on the Termipal, my terminal disappears because it's "loosing focus" and so Termipal also disappears.