SetProgram sets the tea.Program for the supervisor to send routed messages.
(p *tea.Program)
| 494 | |
| 495 | // SetProgram sets the tea.Program for the supervisor to send routed messages. |
| 496 | func (m *appModel) SetProgram(p *tea.Program) { |
| 497 | m.program = p |
| 498 | m.supervisor.SetProgram(p) |
| 499 | } |
| 500 | |
| 501 | // reapplyKeyboardEnhancements forwards the cached keyboard enhancements message |
| 502 | // to the active chat page and editor so new/replaced instances pick up the |
nothing calls this directly
no test coverage detected