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

Method refresh

src/server/web/public/terminal.js:441–443  ·  view source on GitHub ↗
(e3, t3, i2)

Source from the content-addressed store, hash-verified

439 return this._refreshCallbacks.push(e3), this._animationFrame || (this._animationFrame = this._coreBrowserService.window.requestAnimationFrame((() => this._innerRefresh()))), this._animationFrame;
440 }
441 refresh(e3, t3, i2) {
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);

Callers 13

_refreshRowsMethod · 0.45
openMethod · 0.45
refreshRowsMethod · 0.45
clearSelectionMethod · 0.45
selectAllMethod · 0.45
selectLinesMethod · 0.45
_handleTrimMethod · 0.45
handleMouseDownMethod · 0.45
_handleMouseMoveMethod · 0.45
_dragScrollMethod · 0.45
setSelectionMethod · 0.45
rightClickSelectMethod · 0.45

Calls 4

maxMethod · 0.80
_innerRefreshMethod · 0.80
_refreshMethod · 0.80
fireMethod · 0.80

Tested by

no test coverage detected