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

Method constructor

src/server/web/public/terminal.js:4062–4067  ·  view source on GitHub ↗
(e3, t3, i3 = false)

Source from the content-addressed store, hash-verified

4060 let a = 0;
4061 class h {
4062 constructor(e3, t3, i3 = false) {
4063 this.isWrapped = i3, this._combined = {}, this._extendedAttrs = {}, this._data = new Uint32Array(3 * e3);
4064 const s3 = t3 || r.CellData.fromCharData([0, n.NULL_CELL_CHAR, n.NULL_CELL_WIDTH, n.NULL_CELL_CODE]);
4065 for (let t4 = 0; t4 < e3; ++t4) this.setCell(t4, s3);
4066 this.length = e3;
4067 }
4068 get(e3) {
4069 const t3 = this._data[3 * e3 + 0], i3 = 2097151 & t3;
4070 return [this._data[3 * e3 + 1], 2097152 & t3 ? this._combined[e3] : i3 ? (0, o.stringFromCodePoint)(i3) : "", t3 >> 22, 2097152 & t3 ? this._combined[e3].charCodeAt(this._combined[e3].length - 1) : i3];

Callers

nothing calls this directly

Calls 3

setCellMethod · 0.95
fromCharDataMethod · 0.45
registerMethod · 0.45

Tested by

no test coverage detected