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

Method _renderRows

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

Source from the content-addressed store, hash-verified

75 this._liveRegionDebouncer.refresh(e3, t3, this._terminal.rows);
76 }
77 _renderRows(e3, t3) {
78 const i3 = this._terminal.buffer, s3 = i3.lines.length.toString();
79 for (let r2 = e3; r2 <= t3; r2++) {
80 const e4 = i3.lines.get(i3.ydisp + r2), t4 = [], n2 = (e4 == null ? void 0 : e4.translateToString(true, void 0, void 0, t4)) || "", o2 = (i3.ydisp + r2 + 1).toString(), a2 = this._rowElements[r2];
81 a2 && (0 === n2.length ? (a2.innerText = "\xA0", this._rowColumns.set(a2, [0, 1])) : (a2.textContent = n2, this._rowColumns.set(a2, t4)), a2.setAttribute("aria-posinset", o2), a2.setAttribute("aria-setsize", s3));
82 }
83 this._announceCharacters();
84 }
85 _announceCharacters() {
86 0 !== this._charsToAnnounce.length && (this._liveRegion.textContent += this._charsToAnnounce, this._charsToAnnounce = "");
87 }

Callers 1

constructorMethod · 0.80

Calls 8

_announceCharactersMethod · 0.80
fireMethod · 0.80
toStringMethod · 0.65
getMethod · 0.65
translateToStringMethod · 0.45
setMethod · 0.45
renderRowsMethod · 0.45

Tested by

no test coverage detected