Skip to content

Commit

Permalink
Fix starting pseudoterminal (#10780)
Browse files Browse the repository at this point in the history
Signed-off-by: robmor01 <[email protected]>
  • Loading branch information
thegecko authored Feb 21, 2022
1 parent 55bd2c5 commit 363e521
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-ext/src/plugin/terminal-ext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ export class TerminalServiceExtImpl implements TerminalServiceExt {
terminal.deferredProcessId = new Deferred<number>();
terminal.deferredProcessId.resolve(processId);
}
const pseudoTerminal = this._pseudoTerminals.get(terminalId.toString());
// Pseudoterminal is keyed on ID
const pseudoTerminal = this._pseudoTerminals.get(id);
if (pseudoTerminal) {
pseudoTerminal.emitOnOpen(cols, rows);
}
Expand Down

0 comments on commit 363e521

Please sign in to comment.