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

Struct promptInput

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

promptInput wraps bubbles/textarea with an atomic-chip model. A large paste collapses into a single inline label [Pasted text +N lines] that acts as one character for cursor moves and deletion; the original text lives in store, keyed by id, and is expanded back by Value() on LLM submission.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected