From 5d0b8201c3451604e6a23c7aea16c557d84fd72d Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Fri, 7 Mar 2025 11:38:17 -0500 Subject: [PATCH] open new session in working dir when hotkey is pressed --- ui/desktop/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/src/App.tsx b/ui/desktop/src/App.tsx index f543901bac6f..9980462d433d 100644 --- a/ui/desktop/src/App.tsx +++ b/ui/desktop/src/App.tsx @@ -96,7 +96,7 @@ export default function App() { const handleKeyDown = (event: KeyboardEvent) => { if ((event.metaKey || event.ctrlKey) && event.key === 'n') { event.preventDefault(); - window.electron.createChatWindow(); + window.electron.createChatWindow(undefined, window.appConfig.get('GOOSE_WORKING_DIR')); } };