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

Method _handleIntersectionChange

src/server/web/public/terminal.js:1924–1926  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

1922 }
1923 }
1924 _handleIntersectionChange(e3) {
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 }

Callers 1

Calls 3

refreshRowsMethod · 0.80
measureMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected