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

Method constructor

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

Source from the content-addressed store, hash-verified

2357 const s2 = i2(8460), r = i2(844);
2358 class n extends r.Disposable {
2359 constructor(e3) {
2360 super(), this._maxLength = e3, this.onDeleteEmitter = this.register(new s2.EventEmitter()), this.onDelete = this.onDeleteEmitter.event, this.onInsertEmitter = this.register(new s2.EventEmitter()), this.onInsert = this.onInsertEmitter.event, this.onTrimEmitter = this.register(new s2.EventEmitter()), this.onTrim = this.onTrimEmitter.event, this._array = new Array(this._maxLength), this._startIndex = 0, this._length = 0;
2361 }
2362 get maxLength() {
2363 return this._maxLength;
2364 }

Callers

nothing calls this directly

Calls 5

registerMethod · 0.95
setMethod · 0.95
createMethod · 0.65

Tested by

no test coverage detected