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

Method forwardEditor

pkg/tui/dispatch.go:65–68  ·  view source on GitHub ↗

forwardEditor is a convenience for handlers whose entire response is to forward the message to the editor.

(msg tea.Msg)

Source from the content-addressed store, hash-verified

63// forwardEditor is a convenience for handlers whose entire response is to
64// forward the message to the editor.
65func (m *appModel) forwardEditor(msg tea.Msg) (tea.Model, tea.Cmd) {
66 cmd := m.updateEditorCmd(msg)
67 return m, cmd
68}
69
70// forwardDialog is a convenience for handlers whose entire response is to
71// forward the message to the dialog manager.

Callers 4

updateMethod · 0.95
handleKeyPressMethod · 0.95
handleMouseMotionMethod · 0.95
handleMouseReleaseMethod · 0.95

Calls 1

updateEditorCmdMethod · 0.95

Tested by

no test coverage detected