MCPcopy Create free account
hub / github.com/codehamr/codehamr / chipContent

Struct chipContent

internal/tui/prompt.go:36–39  ·  view source on GitHub ↗

chipContent is the payload behind a chip, kept in store by id so the visible label can collapse while the real text survives for Value() and replay.

Source from the content-addressed store, hash-verified

34// chipContent is the payload behind a chip, kept in store by id so the visible
35// label can collapse while the real text survives for Value() and replay.
36type chipContent struct {
37 content string
38 lines int
39}
40
41// chipSpan marks the rune range [start, end) in the value holding a chip's
42// label. Reconciled after any key event that can shift the value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected