summaryrefslogtreecommitdiff
path: root/internal/quit/quit.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/quit/quit.go')
-rw-r--r--internal/quit/quit.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/quit/quit.go b/internal/quit/quit.go
index ac11abc..98c40a7 100644
--- a/internal/quit/quit.go
+++ b/internal/quit/quit.go
@@ -1,6 +1,9 @@
package quit
-import tea "github.com/charmbracelet/bubbletea"
+import (
+ "github.com/ChausseBenjamin/termpicker/internal/ui"
+ tea "github.com/charmbracelet/bubbletea"
+)
const byeMsg = "Goodbye!\n"
@@ -10,4 +13,4 @@ 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 }
+func (m Model) View() string { return ui.Style().Quit.Render(byeMsg) }