using isCursorInitialized for domrenderer

This commit is contained in:
tisilent
2023-09-13 17:34:31 +08:00
parent bdb25c2dbe
commit cc14bc4515
2 changed files with 12 additions and 1 deletions
@@ -218,7 +218,7 @@ export class DomRendererRowFactory {
}
}
if (!this._coreService.isCursorHidden && isCursorCell) {
if (!this._coreService.isCursorHidden && isCursorCell && this._coreService.isCursorInitialized) {
classes.push(RowCss.CURSOR_CLASS);
if (this._coreBrowserService.isFocused) {
if (cursorBlink) {