The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 06:15 UTC
feat(desktop): add "Copy Image" to right-click context menu (#1052)
Guilherme Vieira committed
Apr 10, 2026 at 23:02 UTC
12c3af7821b487878fad67a10b6e7ea980efb214
1 file changed
+8
apps/desktop/src/main.ts
+8
@@ -1695,6 +1695,14 @@ function createWindow(): BrowserWindow {
1695
);
1696
}
1697
1698
+ if (params.mediaType === "image") {
1699
+ menuTemplate.push({
1700
+ label: "Copy Image",
1701
+ click: () => window.webContents.copyImageAt(params.x, params.y),
1702
+ });
1703
+ menuTemplate.push({ type: "separator" });
1704
+ }
1705
+
1706
menuTemplate.push(
1707
{ role: "cut", enabled: params.editFlags.canCut },
1708
{ role: "copy", enabled: params.editFlags.canCopy },