Remove circular dependency

This commit is contained in:
Bruno Ribeito
2019-03-10 22:03:38 +00:00
parent 525af9c36a
commit b4bef0986c
3 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export class DomRenderer extends EventEmitter implements IRenderer {
this._updateDimensions();
this._renderDebouncer = new RenderDebouncer(this._terminal, this._renderRows.bind(this));
this._rowFactory = new DomRendererRowFactory(_terminal, document);
this._rowFactory = new DomRendererRowFactory(_terminal.options, document);
this._terminal.element.classList.add(TERMINAL_CLASS_PREFIX + this._terminalClass);
this._terminal.screenElement.appendChild(this._rowContainer);