Question: Have you tested with this patch whether the per tab active terminal is actually active when you switch to that tab immediately after loading. I can't look into this right now, but my sense is that the last active term is no longer set for non-active tabs after loading a layout. Instead switching to an inactive tab, the last term created is the one with focus, or even possibly no active terminal.
Question: Have you tested with this patch whether the per tab active terminal is actually active when you switch to that tab immediately after loading. I can't look into this right now, but my sense is that the last active term is no longer set for non-active tabs after loading a layout. Instead switching to an inactive tab, the last term created is the one with focus, or even possibly no active terminal.