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

Method clone

src/server/web/public/terminal.js:4183–4189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4181 this.isWrapped = e3.isWrapped;
4182 }
4183 clone() {
4184 const e3 = new h(0);
4185 e3._data = new Uint32Array(this._data), e3.length = this.length;
4186 for (const t3 in this._combined) e3._combined[t3] = this._combined[t3];
4187 for (const t3 in this._extendedAttrs) e3._extendedAttrs[t3] = this._extendedAttrs[t3];
4188 return e3.isWrapped = this.isWrapped, e3;
4189 }
4190 getTrimmedLength() {
4191 for (let e3 = this.length - 1; e3 >= 0; --e3) if (4194303 & this._data[3 * e3 + 0]) return e3 + (this._data[3 * e3 + 0] >> 22);
4192 return 0;

Callers 15

createDumpPromptsFetchFunction · 0.45
constructorMethod · 0.45
_extractColorMethod · 0.45
_processUnderlineMethod · 0.45
_processSGR0Method · 0.45
charAttributesMethod · 0.45
softResetMethod · 0.45
_createHyperlinkMethod · 0.45
_finishHyperlinkMethod · 0.45
resetMethod · 0.45
cloneMethod · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected