MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/server/web/scrollback-buffer.ts:12–15  ·  view source on GitHub ↗
(capacityBytes = 100 * 1024)

Source from the content-addressed store, hash-verified

10 readonly capacity: number;
11
12 constructor(capacityBytes = 100 * 1024) {
13 this.capacity = capacityBytes;
14 this.buf = Buffer.allocUnsafe(capacityBytes);
15 }
16
17 /**
18 * Append PTY output to the buffer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected