MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _updateCursorBlink

Method _updateCursorBlink

src/server/web/public/terminal.js:7124–7128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7122 this._updateDimensions(), this._refreshCharAtlas(), this._isAttached = true;
7123 }
7124 for (const i3 of this._renderLayers) i3.handleGridChanged(this._terminal, e3, t3);
7125 this._glyphRenderer.value && this._rectangleRenderer.value && (this._glyphRenderer.value.beginFrame() ? (this._clearModel(true), this._updateModel(0, this._terminal.rows - 1)) : this._updateModel(e3, t3), this._rectangleRenderer.value.renderBackgrounds(), this._glyphRenderer.value.render(this._model), this._cursorBlinkStateManager.value && !this._cursorBlinkStateManager.value.isCursorVisible || this._rectangleRenderer.value.renderCursor());
7126 }
7127 _updateCursorBlink() {
7128 this._terminal.options.cursorBlink ? this._cursorBlinkStateManager.value = new n.CursorBlinkStateManager((() => {
7129 this._requestRedrawCursor();
7130 }), this._coreBrowserService) : this._cursorBlinkStateManager.clear(), this._requestRedrawCursor();
7131 }

Callers 3

constructorMethod · 0.95
_handleOptionsChangedMethod · 0.95
clearMethod · 0.95

Calls 2

_requestRedrawCursorMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected