(msg tea.Msg)
| 1276 | } |
| 1277 | |
| 1278 | func (z *ZuseModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { |
| 1279 | newM, cmd := z.m.Update(msg) |
| 1280 | z.m = newM.(*ircModel) |
| 1281 | return z, tea.Batch(cmd, z.drain()) |
| 1282 | } |
| 1283 | |
| 1284 | func (z *ZuseModel) View() string { return z.m.View() } |