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

Struct chipSpan

internal/tui/prompt.go:43–46  ·  view source on GitHub ↗

chipSpan marks the rune range [start, end) in the value holding a chip's label. Reconciled after any key event that can shift the value.

Source from the content-addressed store, hash-verified

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.
43type chipSpan struct {
44 id int
45 start, end int
46}
47
48// promptEntry is a frozen promptInput snapshot for history replay: displayed
49// text plus the chip metadata needed to restore atomic-chip behaviour on ↑/↓.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected