forwardChat is a convenience for handlers whose entire response is to forward the message to the chat page.
(msg tea.Msg)
| 56 | // forwardChat is a convenience for handlers whose entire response is to |
| 57 | // forward the message to the chat page. |
| 58 | func (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. |
no test coverage detected