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

Method _getJoinedRanges

src/server/web/public/terminal.js:1760–1775  ·  view source on GitHub ↗
(t3, i3, s3, r2, n2)

Source from the content-addressed store, hash-verified

1758 return i3;
1759 }
1760 _getJoinedRanges(t3, i3, s3, r2, n2) {
1761 const o2 = t3.substring(i3, s3);
1762 let a2 = [];
1763 try {
1764 a2 = this._characterJoiners[0].handler(o2);
1765 } catch (e4) {
1766 console.error(e4);
1767 }
1768 for (let t4 = 1; t4 < this._characterJoiners.length; t4++) try {
1769 const i4 = this._characterJoiners[t4].handler(o2);
1770 for (let t5 = 0; t5 < i4.length; t5++) e3._mergeRanges(a2, i4[t5]);
1771 } catch (e4) {
1772 console.error(e4);
1773 }
1774 return this._stringRangesToCellRanges(a2, r2, n2), a2;
1775 }
1776 _stringRangesToCellRanges(e4, t3, i3) {
1777 let s3 = 0, r2 = false, n2 = 0, a2 = e4[s3];
1778 if (a2) {

Callers 1

getJoinedCharactersMethod · 0.95

Calls 3

_mergeRangesMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected