MCPcopy
hub / github.com/moncho/dry / showPrompt

Method showPrompt

app/model.go:3044–3049  ·  view source on GitHub ↗
(message, tag, id string)

Source from the content-addressed store, hash-verified

3042}
3043
3044func (m model) showPrompt(message, tag, id string) model {
3045 m.prompt = appui.NewPromptModel(message, tag, id)
3046 m.prompt.SetWidth(m.width)
3047 m.overlay = overlayPrompt
3048 return m
3049}
3050
3051func (m model) executeMenuCommand(containerID string, cmd docker.Command) (model, tea.Cmd) {
3052 switch cmd {

Callers 5

handleKeyPressMethod · 0.95
executeMenuCommandMethod · 0.95
executePaletteActionMethod · 0.95
TestModel_PromptConfirmFunction · 0.80
TestModel_PromptDenyFunction · 0.80

Calls 2

NewPromptModelFunction · 0.92
SetWidthMethod · 0.45

Tested by 2

TestModel_PromptConfirmFunction · 0.64
TestModel_PromptDenyFunction · 0.64