mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-22 16:10:50 +00:00
closeSessionWorkspaceLayoutState pruned the workspace tree but left focusedSessionId pointing at the closed session. In a focus-mode workspace no pane then qualified as visible, so the continuously rendered hidden panes all painted on top of each other (reported in #3046 follow-up). Reassign focus to a remaining session and drop closed ids from focusSessionOrder, matching the detach path. Co-authored-by: Cursor <cursoragent@cursor.com>