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

Method addDigit

src/server/web/public/terminal.js:5217–5222  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

5215 const i3 = this._subParamsIdx[t3] >> 8, s3 = 255 & this._subParamsIdx[t3];
5216 s3 - i3 > 0 && (e3[t3] = this._subParams.slice(i3, s3));
5217 }
5218 return e3;
5219 }
5220 addDigit(e3) {
5221 let t3;
5222 if (this._rejectDigits || !(t3 = this._digitIsSub ? this._subParamsLength : this.length) || this._digitIsSub && this._rejectSubDigits) return;
5223 const s3 = this._digitIsSub ? this._subParams : this.params, r = s3[t3 - 1];
5224 s3[t3 - 1] = ~r ? Math.min(10 * r + e3, i2) : e3;
5225 }

Callers 1

parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected