summaryrefslogtreecommitdiff
path: root/internal/quit
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-23 18:12:03 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-23 18:12:03 -0500
commit89094fecf4cb1c018f15c976641cd18c255eac28 (patch)
tree9f6e32c38013bc526399ab324891e0b3269e50dc /internal/quit
Semi-working POC
Diffstat (limited to 'internal/quit')
-rw-r--r--internal/quit/quit.go17
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"
+}