Skip to content

Commit

Permalink
Fix starting pseudoterminal (eclipse-theia#10780)
Browse files Browse the repository at this point in the history
Signed-off-by: robmor01 <[email protected]>
  • Loading branch information
thegecko authored and colin-grant-work committed Feb 23, 2022
1 parent 1e5610f commit 305d80b
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 305d80b

Please sign in to comment.