Merge render layer interface types

This commit is contained in:
Daniel Imms
2017-09-01 16:54:26 -07:00
parent bc3bdacdaa
commit de4fcb9241
8 changed files with 32 additions and 78 deletions
+1 -4
View File
@@ -761,10 +761,7 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
this.viewport = new Viewport(this, this.viewportElement, this.viewportScrollArea, this.charMeasure);
this.renderer = new Renderer(this);
this.on('cursormove', () => {
console.log('cursormove fired');
this.renderer.onCursorMove();
});
this.on('cursormove', () => this.renderer.onCursorMove());
this.on('resize', () => this.renderer.onResize(this.cols, this.rows));
this.charMeasure.on('charsizechanged', () => {
this.renderer.onCharSizeChanged(this.charMeasure.width, this.charMeasure.height);