diff --git a/src/client/common/application/applicationShell.ts b/src/client/common/application/applicationShell.ts index 9289af5791320..55892d6bca626 100644 --- a/src/client/common/application/applicationShell.ts +++ b/src/client/common/application/applicationShell.ts @@ -48,7 +48,7 @@ export class ApplicationShell implements IApplicationShell { } public get onDidWriteTerminalData(): Event { try { - return new EventEmitter().event; + return window.onDidWriteTerminalData; } catch (ex) { traceError('Failed to get onDidWriteTerminalData', ex); console.log('Failed to get onDidWriteTerminalData', ex);