MCPcopy
hub / github.com/codeaashu/claude-code / setCellFromCodepoint

Method setCellFromCodepoint

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

Source from the content-addressed store, hash-verified

4108 2097152 & t3.content && (this._combined[e3] = t3.combinedData), 268435456 & t3.bg && (this._extendedAttrs[e3] = t3.extended), this._data[3 * e3 + 0] = t3.content, this._data[3 * e3 + 1] = t3.fg, this._data[3 * e3 + 2] = t3.bg;
4109 }
4110 setCellFromCodepoint(e3, t3, i3, s3) {
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;

Callers 4

insertCellsMethod · 0.95
deleteCellsMethod · 0.95
replaceCellsMethod · 0.95
printMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected