From f2d618883ba96deb5fce5434c08921ccc64d6c80 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 5 Sep 2024 20:23:35 +0300 Subject: [PATCH] feat: q to quit from host select --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index be37884..a1ff471 100644 --- a/main.go +++ b/main.go @@ -79,6 +79,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } case "q": switch m.state { + case hostSelect: + return m, tea.Quit case actionSelect: if m.actionList.FilterState() != list.Filtering { m.actionList.ResetSelected() -- 2.44.1