feat(ssh-terminal): add a duplicate tab action (#1510)

This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-09-30 09:46:50 -05:00
1 parent 55d7c8837b
commit fef33142b3
4 files changed
+55 -2

No files matched your search

+1 -1
View File
@@ -713,7 +713,7 @@ export function TabBar({
<ActionSlot
slotId="tab.menu"
when={{ tab: ctxTab, handle: ctxTab.terminalRef?.current }}
context={() => [ctxTab.terminalRef?.current]}
context={() => [ctxTab.terminalRef?.current, ctxTab]}
renderItem={(contribution, invoke) => (
<button
className="flex items-center gap-2 w-full px-3 py-1.5 text-xs text-left hover:bg-accent hover:text-accent-foreground"