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

Method addCodepointToCell

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

Source from the content-addressed store, hash-verified

4111 268435456 & s3.bg && (this._extendedAttrs[e3] = s3.extended), this._data[3 * e3 + 0] = t3 | i3 << 22, this._data[3 * e3 + 1] = s3.fg, this._data[3 * e3 + 2] = s3.bg;
4112 }
4113 addCodepointToCell(e3, t3, i3) {
4114 let s3 = this._data[3 * e3 + 0];
4115 2097152 & s3 ? this._combined[e3] += (0, o.stringFromCodePoint)(t3) : 2097151 & s3 ? (this._combined[e3] = (0, o.stringFromCodePoint)(2097151 & s3) + (0, o.stringFromCodePoint)(t3), s3 &= -2097152, s3 |= 2097152) : s3 = t3 | 1 << 22, i3 && (s3 &= -12582913, s3 |= i3 << 22), this._data[3 * e3 + 0] = s3;
4116 }
4117 insertCells(e3, t3, i3) {
4118 if ((e3 %= this.length) && 2 === this.getWidth(e3 - 1) && this.setCellFromCodepoint(e3 - 1, 0, 1, i3), t3 < this.length - e3) {
4119 const s3 = new r.CellData();

Callers 1

printMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected