Slim down refresh and resize events

Fixes #903
This commit is contained in:
Daniel Imms
2017-08-19 14:38:54 -07:00
parent e848d6afbe
commit 8fdedd4da1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ export class Renderer {
this._terminal.element.appendChild(this._terminal.rowContainer);
}
this._terminal.emit('refresh', {element: this._terminal.element, start: start, end: end});
this._terminal.emit('refresh', {start, end});
};
/**
+1 -1
View File
@@ -1944,7 +1944,7 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
this.refresh(0, this.rows - 1);
this.geometry = [this.cols, this.rows];
this.emit('resize', {terminal: this, cols: x, rows: y});
this.emit('resize', {cols: x, rows: y});
}
/**