Remove mouseEvents from Terminal

Depend on CoreMouseService directly
This commit is contained in:
Daniel Imms
2020-04-25 13:31:45 -07:00
parent 37996bcd15
commit c5ba1d62e7
4 changed files with 10 additions and 8 deletions
+4
View File
@@ -192,6 +192,10 @@ export class CoreMouseService implements ICoreMouseService {
return this._activeProtocol;
}
public get areMouseEventsActive(): boolean {
return this._protocols[this._activeProtocol].events !== 0;
}
public set activeProtocol(name: string) {
if (!this._protocols[name]) {
throw new Error(`unknown protocol "${name}"`);