Add selection to ITheme

This commit is contained in:
Daniel Imms
2017-09-04 08:14:40 -07:00
parent 0bfdff0b39
commit ff31f34551
6 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ export class SelectionRenderLayer extends BaseRenderLayer {
// Draw first row
const startCol = viewportStartRow === viewportCappedStartRow ? start[0] : 0;
const startRowEndCol = viewportCappedStartRow === viewportCappedEndRow ? end[0] : terminal.cols;
this._ctx.fillStyle = 'rgba(255,255,255,0.3)';
this._ctx.fillStyle = this.colors.selection;
this.fillCells(startCol, viewportCappedStartRow, startRowEndCol - startCol, 1);
// Draw middle rows