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

Method DisplayValue

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

DisplayValue returns the text as shown, chip labels stay collapsed. Used for echo-to-scroll on submit and the ↑/↓ history snapshot.

()

Source from the content-addressed store, hash-verified

497// DisplayValue returns the text as shown, chip labels stay collapsed. Used for
498// echo-to-scroll on submit and the ↑/↓ history snapshot.
499func (p promptInput) DisplayValue() string { return p.ta.Value() }
500
501// Entry snapshots state for the history buffer, cloning store and spans so
502// later edits to the live promptInput don't mutate the recorded entry.

Calls 1

ValueMethod · 0.80