forwardEditor is a convenience for handlers whose entire response is to forward the message to the editor.
(msg tea.Msg)
| 63 | // forwardEditor is a convenience for handlers whose entire response is to |
| 64 | // forward the message to the editor. |
| 65 | func (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. |
no test coverage detected