Register forwardEvent calls

This commit is contained in:
Daniel Imms
2020-04-26 06:21:16 -07:00
parent a6949d522e
commit 451d9aab96
3 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -90,10 +90,10 @@ export abstract class CoreTerminal extends Disposable {
this._instantiationService.setService(ICharsetService, this._charsetService);
// Setup listeners
forwardEvent(this._bufferService.onResize, this._onResize);
forwardEvent(this._coreService.onData, this._onData);
forwardEvent(this._coreService.onBinary, this._onBinary);
this.optionsService.onOptionChange(key => this._updateOptions(key));
this.register(forwardEvent(this._bufferService.onResize, this._onResize));
this.register(forwardEvent(this._coreService.onData, this._onData));
this.register(forwardEvent(this._coreService.onBinary, this._onBinary));
this.register(this.optionsService.onOptionChange(key => this._updateOptions(key)));
}
public dispose(): void {