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

Method setPromptText

internal/tui/keys.go:103–107  ·  view source on GitHub ↗

setPromptText overwrites the textarea, parks the cursor at the end, and refreshes the popover. Centralises the SetValue + CursorEnd + refreshSuggest dance shared by Tab completion and the Enter/Esc arg-popover transitions.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

abortTurnMethod · 0.95
handleTabMethod · 0.95
handleEscInPopoverMethod · 0.95
handleEnterMethod · 0.95
unqueuePromptMethod · 0.95

Calls 3

refreshSuggestMethod · 0.95
SetValueMethod · 0.80
CursorEndMethod · 0.80

Tested by

no test coverage detected