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

Method constructor

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

Source from the content-addressed store, hash-verified

756 diff: Diff = []
757
758 constructor(
759 origin: Point,
760 readonly viewportWidth: number,
761 ) {
762 this.cursor = { ...origin }
763 }
764
765 txn(fn: (prev: Point) => [patches: Diff, next: Delta]): void {
766 const [patches, next] = fn(this.cursor)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected