updateDialogCmd forwards a message to the dialog manager and returns its cmd.
(msg tea.Msg)
| 40 | |
| 41 | // updateDialogCmd forwards a message to the dialog manager and returns its cmd. |
| 42 | func (m *appModel) updateDialogCmd(msg tea.Msg) tea.Cmd { |
| 43 | updated, cmd := m.dialogMgr.Update(msg) |
| 44 | m.dialogMgr = updated.(dialog.Manager) |
| 45 | return cmd |
| 46 | } |
| 47 | |
| 48 | // updateCompletionsCmd forwards a message to the completion manager and |
| 49 | // returns its cmd. |
no test coverage detected