blob: ac11abcc1db7eb3abdca5d38cf5c5c3defe0030f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package quit
import tea "github.com/charmbracelet/bubbletea"
const byeMsg = "Goodbye!\n"
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 byeMsg }
|