new window to open in new window

This commit is contained in:
Martin Aeschlimann
2019-04-17 11:01:29 +02:00
parent 1d3a96edca
commit 6d5feae579
+2 -1
View File
@@ -1581,7 +1581,8 @@ export class WindowsManager implements IWindowsMainService {
cli = { ...cli, remote };
}
const forceReuseWindow = options && options.reuseWindow;
return this.open({ context, cli, forceEmpty: true, forceReuseWindow });
const forceNewWindow = !forceReuseWindow;
return this.open({ context, cli, forceEmpty: true, forceNewWindow, forceReuseWindow });
}
openNewTabbedWindow(context: OpenContext): ICodeWindow[] {