Bubble up the change of shellLaunch config

This commit is contained in:
Logan Ramos
2019-07-24 13:58:34 -07:00
parent 4008ea909e
commit 018034a7e7
5 changed files with 23 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
public $sendResolvedLaunchConfig(terminalId: number, shellLaunchConfig: IShellLaunchConfig): void {
const instance = this._terminalService.getInstanceFromId(terminalId);
if (instance) {
instance.shellLaunchConfig = shellLaunchConfig;
this._getTerminalProcess(terminalId).then(e => e.emitOverrideShellLaunchConfig(shellLaunchConfig));
}
}