From 1c770068f9ce13ee3fe00f21dc3c7e24c4520e99 Mon Sep 17 00:00:00 2001 From: Rob Moran Date: Mon, 23 Jan 2023 15:00:30 +0000 Subject: [PATCH] Revert "Fix starting pseudoterminal (#10780)" (#12098) Signed-off-by: robmor01 This reverts commit 363e5216dac77e4c3fa419f201cc161955084c43. --- packages/plugin-ext/src/plugin/terminal-ext.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/plugin-ext/src/plugin/terminal-ext.ts b/packages/plugin-ext/src/plugin/terminal-ext.ts index c8b402c6bfe4c..7eceb6b1a489a 100644 --- a/packages/plugin-ext/src/plugin/terminal-ext.ts +++ b/packages/plugin-ext/src/plugin/terminal-ext.ts @@ -189,8 +189,7 @@ export class TerminalServiceExtImpl implements TerminalServiceExt { terminal.deferredProcessId = new Deferred(); terminal.deferredProcessId.resolve(processId); } - // Pseudoterminal is keyed on ID - const pseudoTerminal = this._pseudoTerminals.get(id); + const pseudoTerminal = this._pseudoTerminals.get(terminalId.toString()); if (pseudoTerminal) { pseudoTerminal.emitOnOpen(cols, rows); }