mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat(ssh-terminal): add a duplicate tab action (#1510)
This commit is contained in:
1 parent
55d7c8837b
commit
fef33142b3
4 files changed
+55
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user