Merge pull request #2684 from Tyriar/2683_cursor_refresh

Refresh cursor row when cursor settings updated
This commit is contained in:
Daniel Imms
2020-02-03 10:34:46 -08:00
committed by GitHub
+5
View File
@@ -312,6 +312,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':