renderQuitConfirmView renders the quit confirmation dialog.
()
| 906 | |
| 907 | // renderQuitConfirmView renders the quit confirmation dialog. |
| 908 | func (a *App) renderQuitConfirmView() string { |
| 909 | a.quitConfirm.SetSize(a.width, a.height) |
| 910 | return a.quitConfirm.Render() |
| 911 | } |
| 912 | |
| 913 | // handleLoopEvent handles events from the manager. |
| 914 | func (a App) handleLoopEvent(prdName string, event loop.Event) (tea.Model, tea.Cmd) { |