diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-23 18:12:03 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-23 18:12:03 -0500 |
commit | 89094fecf4cb1c018f15c976641cd18c255eac28 (patch) | |
tree | 9f6e32c38013bc526399ab324891e0b3269e50dc /internal/quit/quit.go |
Semi-working POC
Diffstat (limited to 'internal/quit/quit.go')
-rw-r--r-- | internal/quit/quit.go | 17 |
1 files changed, 17 insertions, 0 deletions
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" +} |