mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-17 13:01:24 +00:00
Adds three bulk-close items to the right-click context menu on tabs: - Close Others - Close Tabs to the Right - Close All Anchor is the right-clicked tab (matches VSCode/JetBrains/FinalShell UX), not the active tab. The "to the right" item is disabled when the anchor is already the rightmost tab; "Close Others" is disabled when it's the only tab. To avoid spamming a busy-shell modal per tab, the new closeTabsBatch helper in App.tsx expands workspace ids into their session ids, runs ONE confirmIfBusyLocalTerminal probe across the whole batch, and only proceeds when the user confirms. The probe + close path itself reuses the existing PR #739 plumbing (ptyProcessTree + confirmCloseBusy). Closes #748 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>