MCPcopy
hub / github.com/codeaashu/claude-code / _innerRefresh

Method _innerRefresh

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

Source from the content-addressed store, hash-verified

442 this._rowCount = i2, e3 = void 0 !== e3 ? e3 : 0, t3 = void 0 !== t3 ? t3 : this._rowCount - 1, this._rowStart = void 0 !== this._rowStart ? Math.min(this._rowStart, e3) : e3, this._rowEnd = void 0 !== this._rowEnd ? Math.max(this._rowEnd, t3) : t3, this._animationFrame || (this._animationFrame = this._coreBrowserService.window.requestAnimationFrame((() => this._innerRefresh())));
443 }
444 _innerRefresh() {
445 if (this._animationFrame = void 0, void 0 === this._rowStart || void 0 === this._rowEnd || void 0 === this._rowCount) return void this._runRefreshCallbacks();
446 const e3 = Math.max(this._rowStart, 0), t3 = Math.min(this._rowEnd, this._rowCount - 1);
447 this._rowStart = void 0, this._rowEnd = void 0, this._renderCallback(e3, t3), this._runRefreshCallbacks();
448 }
449 _runRefreshCallbacks() {
450 for (const e3 of this._refreshCallbacks) e3(0);
451 this._refreshCallbacks = [];

Callers 3

addRefreshCallbackMethod · 0.80
refreshMethod · 0.80
_refreshMethod · 0.80

Calls 2

_runRefreshCallbacksMethod · 0.80
maxMethod · 0.80

Tested by

no test coverage detected