Support theming cursor accent color

Fixes #963
This commit is contained in:
Daniel Imms
2017-09-10 08:01:16 -07:00
parent 948eedba89
commit 6c06d83525
6 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ export class CursorRenderLayer extends BaseRenderLayer {
this._ctx.save();
this._ctx.fillStyle = this.colors.cursor;
this.fillCells(x, y, charData[CHAR_DATA_WIDTH_INDEX], 1);
this._ctx.fillStyle = this.colors.background;
this._ctx.fillStyle = this.colors.cursorAccent;
this.fillCharTrueColor(terminal, charData, x, y);
this._ctx.restore();
}