Skip to content

Commit

Permalink
Merge pull request #186783 from microsoft/tyriar/186782
Browse files Browse the repository at this point in the history
Fix terminal data buffering from pty host
  • Loading branch information
Tyriar authored Jun 30, 2023
2 parents 82e9a14 + 111fc44 commit 2a58dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/terminal/node/ptyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ export class PtyService extends Disposable implements IPtyService {
}
const id = ++this._lastPtyId;
const process = new TerminalProcess(shellLaunchConfig, cwd, cols, rows, env, executableEnv, options, this._logService, this._productService);
process.onProcessData(event => this._onProcessData.fire({ id, event }));
const processLaunchOptions: IPersistentTerminalProcessLaunchConfig = {
env,
executableEnv,
Expand All @@ -282,6 +281,7 @@ export class PtyService extends Disposable implements IPtyService {
this._ptys.delete(id);
this._onProcessExit.fire({ id, event });
});
persistentProcess.onProcessData(event => this._onProcessData.fire({ id, event }));
persistentProcess.onProcessReplay(event => this._onProcessReplay.fire({ id, event }));
persistentProcess.onProcessReady(event => this._onProcessReady.fire({ id, event }));
persistentProcess.onProcessOrphanQuestion(() => this._onProcessOrphanQuestion.fire({ id }));
Expand Down

0 comments on commit 2a58dad

Please sign in to comment.