Pull common parts into BaseRenderLayer

This commit is contained in:
Daniel Imms
2017-08-31 17:13:15 -07:00
parent fd18f7cba7
commit a91380a76f
7 changed files with 47 additions and 64 deletions
+4 -4
View File
@@ -22,12 +22,12 @@ export class Renderer {
constructor(private _terminal: ITerminal) {
this._dataRenderLayers = [
new BackgroundRenderLayer(this._terminal.element),
new ForegroundRenderLayer(this._terminal.element),
new CursorRenderLayer(this._terminal.element)
new BackgroundRenderLayer(this._terminal.element, 0),
new ForegroundRenderLayer(this._terminal.element, 2),
new CursorRenderLayer(this._terminal.element, 3)
];
this._selectionRenderLayers = [
new SelectionRenderLayer(this._terminal.element)
new SelectionRenderLayer(this._terminal.element, 1)
];
}