MCPcopy Create free account
hub / github.com/codeaashu/claude-code / restartBlinkAnimation

Method restartBlinkAnimation

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

Source from the content-addressed store, hash-verified

7425 return !(this._blinkStartTimeout || this._blinkInterval);
7426 }
7427 dispose() {
7428 this._blinkInterval && (this._coreBrowserService.window.clearInterval(this._blinkInterval), this._blinkInterval = void 0), this._blinkStartTimeout && (this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout), this._blinkStartTimeout = void 0), this._animationFrame && (this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame), this._animationFrame = void 0);
7429 }
7430 restartBlinkAnimation() {
7431 this.isPaused || (this._animationTimeRestarted = Date.now(), this.isCursorVisible = true, this._animationFrame || (this._animationFrame = this._coreBrowserService.window.requestAnimationFrame((() => {
7432 this._renderCallback(), this._animationFrame = void 0;
7433 }))));
7434 }

Callers 3

handleCursorMoveMethod · 0.80
clearMethod · 0.80
resumeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected