fix: open new session in working dir when hotkey is pressed (#1570)

This commit is contained in:
Salman Mohammed
2025-03-07 11:55:53 -05:00
committed by GitHub
parent 32f20cd690
commit ff3b333c30

View File

@@ -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'));
}
};