mirror of
https://github.com/aljazceru/goose.git
synced 2026-02-03 21:54:30 +01:00
fix: open new session in working dir when hotkey is pressed (#1570)
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user