From 90e70c9c08651a8c9db521346a5e704e150dc598 Mon Sep 17 00:00:00 2001 From: robmor01 Date: Mon, 23 Jan 2023 14:05:58 +0000 Subject: [PATCH] Revert "Fix starting pseudoterminal (#10780)" 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); }