fix tests; fix attach addon

This commit is contained in:
Jörg Breitbart
2019-11-14 00:48:16 +01:00
parent 00d626b6cc
commit f1f103850c
4 changed files with 37 additions and 21 deletions
+1
View File
@@ -223,6 +223,7 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
this._coreService = this._instantiationService.createInstance(CoreService, () => this.scrollToBottom());
this._instantiationService.setService(ICoreService, this._coreService);
this._coreService.onData(e => this._onData.fire(e));
this._coreService.onBinary(e => this._onBinary.fire(e));
this._coreMouseService = this._instantiationService.createInstance(CoreMouseService);
this._instantiationService.setService(ICoreMouseService, this._coreMouseService);
this._dirtyRowService = this._instantiationService.createInstance(DirtyRowService);
+1 -1
View File
@@ -264,7 +264,7 @@ export class CoreMouseService implements ICoreMouseService {
// encode report and send
const report = this._encodings[this._activeEncoding](e);
if (this._activeProtocol === 'DEFAULT') {
if (this._activeEncoding === 'DEFAULT') {
// always send DEFAULT as binary data
if (report) {
this._coreService.triggerBinaryEvent(report);