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

Method refreshRows

src/server/web/public/terminal.js:1927–1929  ·  view source on GitHub ↗
(e3, t3, i3 = false)

Source from the content-addressed store, hash-verified

1925 this._isPaused = void 0 === e3.isIntersecting ? 0 === e3.intersectionRatio : !e3.isIntersecting, this._isPaused || this._charSizeService.hasValidSize || this._charSizeService.measure(), !this._isPaused && this._needsFullRefresh && (this._pausedResizeTask.flush(), this.refreshRows(0, this._rowCount - 1), this._needsFullRefresh = false);
1926 }
1927 refreshRows(e3, t3, i3 = false) {
1928 this._isPaused ? this._needsFullRefresh = true : (i3 || (this._isNextRenderRedrawOnly = false), this._renderDebouncer.refresh(e3, t3, this._rowCount));
1929 }
1930 _renderRows(e3, t3) {
1931 this._renderer.value && (e3 = Math.min(e3, this._rowCount - 1), t3 = Math.min(t3, this._rowCount - 1), this._renderer.value.renderRows(e3, t3), this._needsSelectionRefresh && (this._renderer.value.handleSelectionChanged(this._selectionState.start, this._selectionState.end, this._selectionState.columnSelectMode), this._needsSelectionRefresh = false), this._isNextRenderRedrawOnly || this._onRenderedViewportChange.fire({ start: e3, end: t3 }), this._onRender.fire({ start: e3, end: t3 }), this._isNextRenderRedrawOnly = true);
1932 }

Callers 7

refreshMethod · 0.80
constructorMethod · 0.80
_handleOptionsChangedMethod · 0.80
setRendererMethod · 0.80
_fullRefreshMethod · 0.80

Calls 1

refreshMethod · 0.45

Tested by

no test coverage detected