mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-06 14:00:09 +02:00
Address review: the Cmd/Ctrl+W path reused closeActiveTab(), an unconditional force-close reserved for route-crash recovery, so the shortcut could close a pinned tab or reseed the sole tab — both of which the TabBar deliberately hides the close button for. Add a guarded closeActiveTabIfClosable() that no-ops for pinned / only tabs and wire the shortcut to it. (MUL-2987) Co-authored-by: multica-agent <github@multica.ai>