forwardDialog is a convenience for handlers whose entire response is to forward the message to the dialog manager.
(msg tea.Msg)
| 70 | // forwardDialog is a convenience for handlers whose entire response is to |
| 71 | // forward the message to the dialog manager. |
| 72 | func (m *appModel) forwardDialog(msg tea.Msg) (tea.Model, tea.Cmd) { |
| 73 | cmd := m.updateDialogCmd(msg) |
| 74 | return m, cmd |
| 75 | } |
| 76 | |
| 77 | // forwardCompletions is a convenience for handlers whose entire response is |
| 78 | // to forward the message to the completion manager. |
no test coverage detected