DEVELOPMENT ENVIRONMENT

~liljamo/tamma

f2d618883ba96deb5fce5434c08921ccc64d6c80 — Jonni Liljamo 2 months ago 169aac9
feat: q to quit from host select
1 files changed, 2 insertions(+), 0 deletions(-)

M main.go
M main.go => main.go +2 -0
@@ 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()