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

Method handleEnter

internal/tui/keys.go:213–257  ·  view source on GitHub ↗

handleEnter implements the three-way Enter dispatch. Alt+Enter inserts a newline; command-level Enter on an args-taking command advances to the arg popover (same model as Tab); plain Enter commits.

(msg tea.KeyMsg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handleKeyMethod · 0.95

Calls 12

forwardToTextareaMethod · 0.95
queuePromptMethod · 0.95
currentSuggestionMethod · 0.95
setPromptTextMethod · 0.95
closePopoverMethod · 0.95
submitMethod · 0.95
commandByNameFunction · 0.85
activeMethod · 0.80
ValueMethod · 0.80
DisplayValueMethod · 0.80
EntryMethod · 0.80
ResetMethod · 0.80

Tested by

no test coverage detected