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

Method _refreshRowElements

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

Source from the content-addressed store, hash-verified

1284 this._updateDimensions(), this._widthCache.clear(), this._setDefaultSpacing();
1285 }
1286 _refreshRowElements(e3, t3) {
1287 for (let e4 = this._rowElements.length; e4 <= t3; e4++) {
1288 const e5 = this._document.createElement("div");
1289 this._rowContainer.appendChild(e5), this._rowElements.push(e5);
1290 }
1291 for (; this._rowElements.length > t3; ) this._rowContainer.removeChild(this._rowElements.pop());
1292 }
1293 handleResize(e3, t3) {
1294 this._refreshRowElements(e3, t3), this._updateDimensions(), this.handleSelectionChanged(this._selectionRenderModel.selectionStart, this._selectionRenderModel.selectionEnd, this._selectionRenderModel.columnSelectMode);
1295 }

Callers 2

constructorMethod · 0.80
handleResizeMethod · 0.80

Calls 3

popMethod · 0.80
pushMethod · 0.45
removeChildMethod · 0.45

Tested by

no test coverage detected