MCPcopy Create free account
hub / github.com/anomalyco/opencode / constructor

Method constructor

packages/app/src/addons/serialize.ts:252–258  ·  view source on GitHub ↗
(
    buffer: IBuffer,
    private readonly _terminal: ITerminalCore,
  )

Source from the content-addressed store, hash-verified

250 private _lastContentCursorCol: number = 0
251
252 constructor(
253 buffer: IBuffer,
254 private readonly _terminal: ITerminalCore,
255 ) {
256 super(buffer)
257 this._cursorStyle = this._buffer.getNullCell()
258 }
259
260 protected _beforeSerialize(rows: number, start: number, _end: number): void {
261 this._allRows = Array.from<string>({ length: rows })

Callers

nothing calls this directly

Calls 1

getNullCellMethod · 0.80

Tested by

no test coverage detected