MCPcopy Create free account
hub / github.com/codeaashu/claude-code / resize

Method resize

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

Source from the content-addressed store, hash-verified

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 }
1933 resize(e3, t3) {
1934 this._rowCount = t3, this._fireOnCanvasResize();
1935 }
1936 _handleOptionsChanged() {
1937 this._renderer.value && (this.refreshRows(0, this._rowCount - 1), this._fireOnCanvasResize());
1938 }

Callers 15

readImageWithTokenBudgetFunction · 0.45
tryProgressiveResizingFunction · 0.45
tryPalettePNGFunction · 0.45
tryJPEGConversionFunction · 0.45
resumeMethod · 0.45
wireWsEventsMethod · 0.45
openMethod · 0.45
resizeMethod · 0.45
resizeMethod · 0.45
setModePrivateMethod · 0.45

Calls 13

_fireOnCanvasResizeMethod · 0.80
getNullCellMethod · 0.80
popMethod · 0.80
trimStartMethod · 0.80
maxMethod · 0.80
_reflowMethod · 0.80
_batchedMemoryCleanupMethod · 0.80
fireMethod · 0.80
getMethod · 0.65
pushMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected