From bc89167784a08d5acc313231e620977a0d8d8a40 Mon Sep 17 00:00:00 2001 From: Dan Smolsky Date: Sat, 7 Nov 2026 06:42:31 -0500 Subject: [PATCH] fix(desktop): stop ctrl+shift+r from reloading the app on windows and linux --- packages/desktop/src/main/ipc.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/desktop/src/main/ipc.ts b/packages/desktop/src/main/ipc.ts index 9342c2c27a6..167755b3d38 100644 --- a/packages/desktop/src/main/ipc.ts +++ b/packages/desktop/src/main/ipc.ts @@ -58,9 +58,10 @@ export const registerIpcHandlers = Effect.gen(function* () { const wire = (win: BrowserWindow) => { win.webContents.on("before-input-event", (_event, input) => { - // Ctrl+R renames the session in the renderer, so the default menu's Reload must not take it. + // Ctrl+R renames the session and Ctrl+Shift+R toggles review in the renderer, + // so the default menu's Reload and Force Reload must not take them. win.webContents.setIgnoreMenuShortcuts( - input.control && !input.meta && !input.shift && !input.alt && input.key.toLowerCase() === "r", + input.control && !input.meta && !input.alt && input.key.toLowerCase() === "r", ) if (input.type !== "keyDown" || input.key !== "Escape") return