MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/ink/log-update.ts:1791–1796  ·  view source on GitHub ↗
(
    origin: Point,
    readonly viewportWidth: number,
  )

Source from the content-addressed store, hash-verified

1789 diff: Diff = []
1790
1791 constructor(
1792 origin: Point,
1793 readonly viewportWidth: number,
1794 ) {
1795 this.cursor = { ...origin }
1796 }
1797
1798 txn(fn: (prev: Point) => [patches: Diff, next: Delta]): void {
1799 const [patches, next] = fn(this.cursor)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected