From 4307d4e11751e0d4c12deb534a8fe272088c5c0b Mon Sep 17 00:00:00 2001 From: crunk Date: Wed, 10 May 2023 18:43:53 +0200 Subject: [PATCH] can't search anything with a q in it, turns progam off :) --- gshmm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gshmm.go b/gshmm.go index 2dd0f0a..8a0360d 100644 --- a/gshmm.go +++ b/gshmm.go @@ -180,7 +180,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.KeyMsg: switch msg.String() { - case "ctrl+c", "q": + case "ctrl+c": return m, tea.Quit } }