Allow remote error messages to work

This commit is contained in:
Logan Ramos
2019-07-19 11:19:00 -07:00
parent f0e66ee83b
commit d826dfd943
5 changed files with 12 additions and 2 deletions

View File

@@ -323,6 +323,13 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
this._getTerminalProcess(terminalId).then(e => e.emitCwd(cwd));
}
public $sendResolvedLaunchConfig(terminalId: number, shellLaunchConfig: IShellLaunchConfig): void {
const instance = this._terminalService.getInstanceFromId(terminalId);
if (instance) {
instance.shellLaunchConfig = shellLaunchConfig;
}
}
private async _onRequestLatency(terminalId: number): Promise<void> {
const COUNT = 2;
let sum = 0;