Browse Source

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

main
crunk 12 months ago
parent
commit
4307d4e117
  1. 2
      gshmm.go

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

Loading…
Cancel
Save