You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PseudoTerminal.open isn't called in some circumstances #84174
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
I have the following problem in one of the extensions:
Extension uses Terminal.create with Pseudoterminal API
In some circumstances pseudoterminal.open isn't called, though, when I resize and close it, events come
In extHostTerminalService I found the following code:
let retries = 5;
while (retries-- > 0) {
if (this._terminalProcesses[id]) {
(this._terminalProcesses[id] as ExtHostPseudoterminal).startSendingEvents(initialDimensions);
return;
}
await timeout(50);
}
It gives only 250ms for terminal to create and it seems that in my circumstances it's not enough. What's worse not even an error message is displayed. It's completely ignored. Could you do something around it, please?
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
connor4312 commentedon Dec 5, 2019
Daniel Imms (@Tyriar) could you add steps for this?
Tyriar commentedon Dec 5, 2019
Connor Peet (@connor4312) I don't know how to reproduce the problem, an extra code review of the PR might be good enough?
Konstantin Solomatov (@solomatov) could you verify whether the fix worked?
connor4312 commentedon Dec 5, 2019
Code lgtm
solomatov commentedon Dec 6, 2019
Daniel Imms (@Tyriar) The PR fixes the repro for the problem I had. I haven't encountered this error in other circumstance.s
Tyriar commentedon Dec 6, 2019
Konstantin Solomatov (@solomatov) thanks, the best verification is from the OP 😃