diff --git a/examples/list-simple/main.go b/examples/list-simple/main.go index f8f85ed..4d4b4a6 100644 --- a/examples/list-simple/main.go +++ b/examples/list-simple/main.go @@ -67,7 +67,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.KeyMsg: switch keypress := msg.String(); keypress { - case "ctrl+c": + case "q", "ctrl+c": m.quitting = true return m, tea.Quit