MCPcopy
hub / github.com/docker/docker-agent / updateDialogCmd

Method updateDialogCmd

pkg/tui/dispatch.go:42–46  ·  view source on GitHub ↗

updateDialogCmd forwards a message to the dialog manager and returns its cmd.

(msg tea.Msg)

Source from the content-addressed store, hash-verified

40
41// updateDialogCmd forwards a message to the dialog manager and returns its cmd.
42func (m *appModel) updateDialogCmd(msg tea.Msg) tea.Cmd {
43 updated, cmd := m.dialogMgr.Update(msg)
44 m.dialogMgr = updated.(dialog.Manager)
45 return cmd
46}
47
48// updateCompletionsCmd forwards a message to the completion manager and
49// returns its cmd.

Callers 4

applyThemeChangedMethod · 0.95
updateMethod · 0.95
resizeAllMethod · 0.95
forwardDialogMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected