Terminal freeze root-cause fix
BridgeSpace 3.1.11 fixes the core cause of the multi-terminal freezing, lag, and cursor flicker: a focus-recovery feedback loop that pinned the renderer when switching panes or workspaces, refocusing the window, or pasting an image.
Focus-recovery loop eliminated
A programmatic input-recovery focus is no longer mistaken for a user pane switch, so it can no longer re-broadcast a focus recovery to every terminal and re-focus in a runaway loop.
No freeze on refocus, workspace switch, or image paste
Clicking back into the window, switching workspaces, or dropping a screenshot into a terminal no longer triggers the re-focus storm that pegged a CPU core until the app reloaded.
Cursor flicker gone
Terminals skip redundant focus calls once the textarea already owns focus, ending the recursive cursor and input flicker during heavy multi-agent sessions.
- Fixed the terminal freeze, lag, and cursor flicker caused by a focus-recovery feedback loop: a recovery focus fired a DOM focusin that was read as a user pane switch, which re-broadcast a pane-focus recovery to every mounted terminal and re-focused, escalating until the renderer was pinned and reloaded.
- recoverInputSurface now skips re-focusing a terminal whose textarea already owns focus, matching the guards already used on the other focus paths.
- Programmatic recovery focuses are marked so the active-pane focus sync ignores them; genuine user clicks and pane switches are unaffected.