mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 22:25:24 +00:00
fix: finish 2.9.0 plugin moves and get every check green
This commit is contained in:
1 parent
8c1e02af89
commit
6489b62ece
335 files changed
+29878
-17749
No files matched your search
@@ -207,6 +207,21 @@ export function activate(app: TermixApp): void {
|
||||
});
|
||||
}
|
||||
|
||||
// The tab bar's right-click menu, for a terminal whose toolbar is hidden.
|
||||
app.registerSlotContribution("tab.menu", {
|
||||
actionId: SHARE_ACTION,
|
||||
titleKey: "sessionSharing.shareButton",
|
||||
icon: Share2,
|
||||
kind: "button",
|
||||
when: (context) => {
|
||||
const handle = context.handle as
|
||||
{ getShareTarget?: () => unknown } | null | undefined;
|
||||
return typeof handle?.getShareTarget === "function"
|
||||
? handle.getShareTarget() !== null
|
||||
: false;
|
||||
},
|
||||
});
|
||||
|
||||
app.registerSlotContribution("shell.overlay", {
|
||||
actionId: "session-sharing.shareDialog",
|
||||
titleKey: "sessionSharing.shareButton",
|
||||
|
||||
Reference in new issue
Block a user