From 89094fecf4cb1c018f15c976641cd18c255eac28 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 23 Nov 2024 18:12:03 -0500 Subject: Semi-working POC --- internal/quit/quit.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 internal/quit/quit.go (limited to 'internal/quit/quit.go') diff --git a/internal/quit/quit.go b/internal/quit/quit.go new file mode 100644 index 0000000..de1e3b4 --- /dev/null +++ b/internal/quit/quit.go @@ -0,0 +1,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" +} -- cgit v1.2.3