Closed
Description
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?