Convert data to EventEmitter2

This commit is contained in:
Daniel Imms
2019-04-09 19:53:02 -07:00
parent 2c96c262f4
commit 87328fe293
10 changed files with 38 additions and 31 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export class Terminal implements ITerminalApi {
public get onCursorMove(): IEvent<void> { return this._core.onCursorMove; }
public get onLineFeed(): IEvent<void> { return this._core.onLineFeed; }
public get onSelectionChange(): IEvent<void> { return this._core.onSelectionChange; }
public get onInput(): IEvent<string> { return this._core.onInput; }
public get onData(): IEvent<string> { return this._core.onData; }
public get onTitleChange(): IEvent<string> { return this._core.onTitleChange; }
public get onScroll(): IEvent<number> { return this._core.onScroll; }
public get onKey(): IEvent<{ key: string, domEvent: KeyboardEvent }> { return this._core.onKey; }