mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-17 13:01:24 +00:00
* perf(terminal): commit side-panel tool switches in one render Icon clicks write the focused tool and the layout together through selectSidePanelTool. External open-tab writes still reconcile in an effect, and that effect skips when the layout is already the selection. Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com> * fix(terminal): merge pending side-panel writes across urgent renders Icon switches inside startTransition used to publish absolute maps from refs, and the next render copied the last committed state back over those refs. A second tab's switch could then replace the queued map and drop the first tab's selection and split. Patch each tab onto the queued map, and leave a pending ref in place until that render commits. Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>