This is what my – usually maximized – iTerm2 window looks like after I (dis-)connect my external display. Latest and greatest MBP and macOS. It’s not always like that, though. Nope, sometimes it’s even tinier! More than once I had to actively look for it for a minute, because occasionally it gets shoved outside of the visible area for extra annoyance.
Without something like BetterTouchTool I’d probably have to go and revert those fucked up window states from some plist file somewhere to be able to even open new usable windows, because that positioning and size is (re-)stored between sessions.