MCPcopy
hub / github.com/c-bata/go-prompt / Update

Method Update

completion.go:67–69  ·  view source on GitHub ↗

Update to update the suggestions.

(in Document)

Source from the content-addressed store, hash-verified

65
66// Update to update the suggestions.
67func (c *CompletionManager) Update(in Document) {
68 c.tmp = c.completer(in)
69}
70
71// Previous to select the previous suggestion item.
72func (c *CompletionManager) Previous() {

Callers 3

ResetMethod · 0.95
RunMethod · 0.80
InputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected