MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _refresh

Method _refresh

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

Source from the content-addressed store, hash-verified

837 this._currentRowHeight = 0, this._currentDeviceCellHeight = 0, this._lastRecordedBufferLength = 0, this._lastRecordedViewportHeight = 0, this._lastRecordedBufferHeight = 0, this._lastTouchY = 0, this._lastScrollTop = 0, this._coreBrowserService.window.requestAnimationFrame((() => this.syncScrollArea()));
838 }
839 _refresh(e3) {
840 if (e3) return this._innerRefresh(), void (null !== this._refreshAnimationFrame && this._coreBrowserService.window.cancelAnimationFrame(this._refreshAnimationFrame));
841 null === this._refreshAnimationFrame && (this._refreshAnimationFrame = this._coreBrowserService.window.requestAnimationFrame((() => this._innerRefresh())));
842 }
843 _innerRefresh() {
844 if (this._charSizeService.height > 0) {
845 this._currentRowHeight = this._renderDimensions.device.cell.height / this._coreBrowserService.dpr, this._currentDeviceCellHeight = this._renderDimensions.device.cell.height, this._lastRecordedViewportHeight = this._viewportElement.offsetHeight;

Callers 2

syncScrollAreaMethod · 0.80
refreshMethod · 0.80

Calls 2

_innerRefreshMethod · 0.80
fireMethod · 0.80

Tested by

no test coverage detected