Allow the thickness of the bar cursor to be configured

This commit is contained in:
Nick Pezza
2019-11-30 14:40:45 -05:00
parent 8b5c48fe87
commit c630b92772
7 changed files with 14 additions and 6 deletions
@@ -204,7 +204,7 @@ export class CursorRenderLayer extends BaseRenderLayer {
private _renderBarCursor(terminal: Terminal, x: number, y: number, cell: ICellData): void {
this._ctx.save();
this._ctx.fillStyle = this._colors.cursor.css;
this._fillLeftLineAtCell(x, y);
this._fillLeftLineAtCell(x, y, terminal.getOption('cursorBarWidth'));
this._ctx.restore();
}