mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
enable setting an extension contributed profile as the default one (#129197)
This commit is contained in:
@@ -150,11 +150,11 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
|
||||
if (launchConfig.isSplitTerminal) {
|
||||
const activeInstance = this._terminalService.getInstanceHost(launchConfig.target).activeInstance;
|
||||
if (activeInstance) {
|
||||
terminal = withNullAsUndefined(this._terminalService.splitInstance(activeInstance, shellLaunchConfig));
|
||||
terminal = withNullAsUndefined(await this._terminalService.splitInstance(activeInstance, shellLaunchConfig));
|
||||
}
|
||||
}
|
||||
if (!terminal) {
|
||||
terminal = this._terminalService.createTerminal({
|
||||
terminal = await this._terminalService.createTerminal({
|
||||
config: shellLaunchConfig,
|
||||
target: launchConfig.target
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user