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

Method handleTab

internal/tui/keys.go:172–193  ·  view source on GitHub ↗

handleTab implements the three Tab behaviours: seed "/" on an empty prompt (opens the command popover), complete a unique match when the popover is open, or cycle the selection. Non-empty non-popover Tabs fall through to the textarea so a user-initiated indent isn't swallowed.

(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 6

popoverOpenMethod · 0.95
setPromptTextMethod · 0.95
forwardToTextareaMethod · 0.95
popoverMoveSelectionMethod · 0.95
commandByNameFunction · 0.85
ValueMethod · 0.80

Tested by

no test coverage detected