can't search anything with a q in it, turns progam off :)

This commit is contained in:
crunk 2023-05-10 18:43:53 +02:00
parent d4a2d98189
commit 4307d4e117

View File

@ -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
}
}