Refactor terminal launch logic to improve error

Fixes #99905
Part of #99996
This commit is contained in:
Daniel Imms
2020-06-12 07:02:27 -07:00
parent 314446f954
commit e6c745ebef
6 changed files with 176 additions and 122 deletions

View File

@@ -243,6 +243,10 @@ export class ExtHostPseudoterminal implements ITerminalChildProcess {
constructor(private readonly _pty: vscode.Pseudoterminal) { }
async start(): Promise<undefined> {
return undefined;
}
shutdown(): void {
this._pty.close();
}