Refresh cursor row when cursor settings updated

Fixes #2683
This commit is contained in:
Daniel Imms
2020-02-03 10:13:13 -08:00
parent 12362cac61
commit 412d6fe42c
+5
View File
@@ -308,6 +308,11 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
this._renderService?.clear();
this._charSizeService?.measure();
break;
case 'cursorBlink':
case 'cursorStyle':
// The DOM renderer needs a row refresh to update the cursor styles
this.refresh(this.buffer.y, this.buffer.y);
break;
case 'drawBoldTextInBrightColors':
case 'letterSpacing':
case 'lineHeight':