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

Function chipLabel

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

chipLabel is the visible form inserted into the textarea. Plain text, no ANSI, since textarea doesn't render inline styling inside its value.

(lines int)

Source from the content-addressed store, hash-verified

87// chipLabel is the visible form inserted into the textarea. Plain text, no
88// ANSI, since textarea doesn't render inline styling inside its value.
89func chipLabel(lines int) string {
90 return fmt.Sprintf("[Pasted text +%d lines]", lines)
91}
92
93// Update is the promptInput's message entry point. Large pastes are swallowed
94// into a chip and chip-aware keys handled before delegation; everything else

Callers 2

insertChipMethod · 0.85
reconcileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected