MCPcopy Index your code
hub / github.com/docker/docker-agent / forwardChat

Method forwardChat

pkg/tui/dispatch.go:58–61  ·  view source on GitHub ↗

forwardChat is a convenience for handlers whose entire response is to forward the message to the chat page.

(msg tea.Msg)

Source from the content-addressed store, hash-verified

56// forwardChat is a convenience for handlers whose entire response is to
57// forward the message to the chat page.
58func (m *appModel) forwardChat(msg tea.Msg) (tea.Model, tea.Cmd) {
59 cmd := m.updateChatCmd(msg)
60 return m, cmd
61}
62
63// forwardEditor is a convenience for handlers whose entire response is to
64// forward the message to the editor.

Callers 8

handleToggleYoloMethod · 0.95
updateMethod · 0.95
handleKeyPressMethod · 0.95
handleMouseClickMethod · 0.95
handleMouseMotionMethod · 0.95
handleMouseReleaseMethod · 0.95
handleWheelCoalescedMethod · 0.95

Calls 1

updateChatCmdMethod · 0.95

Tested by

no test coverage detected