summaryrefslogtreecommitdiff
path: root/internal/quit/quit.go
blob: 98c40a7657370aff8963f3a4558cd86ad555e35a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package quit

import (
	"github.com/ChausseBenjamin/termpicker/internal/ui"
	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 ui.Style().Quit.Render(byeMsg) }