From ff3b333c306bcedfc2f4ccc02e49f1739fff790a Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Fri, 7 Mar 2025 11:55:53 -0500 Subject: [PATCH] fix: open new session in working dir when hotkey is pressed (#1570) --- 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 f543901b..9980462d 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')); } };