Skip to content

Commit

Permalink
Revert "Fix starting pseudoterminal (#10780)" (#12098)
Browse files Browse the repository at this point in the history
Signed-off-by: robmor01 <[email protected]>

This reverts commit 363e521.
  • Loading branch information
thegecko authored Jan 23, 2023
1 parent fdac7ea commit 1c77006
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugin-ext/src/plugin/terminal-ext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ export class TerminalServiceExtImpl implements TerminalServiceExt {
terminal.deferredProcessId = new Deferred<number>();
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);
}
Expand Down

0 comments on commit 1c77006

Please sign in to comment.