1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package quit import tea "github.com/charmbracelet/bubbletea" type Model struct{} func (m Model) Init() tea.Cmd { return nil } func (m Model) Update(tea.Msg) (tea.Model, tea.Cmd) { return m, nil } func (m Model) View() string { return "Goodbye!\n" }