diff --git a/examples/result/main.go b/examples/result/main.go index 4182467..323eb1d 100644 --- a/examples/result/main.go +++ b/examples/result/main.go @@ -29,7 +29,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.KeyMsg: switch msg.String() { case "ctrl+c", "q", "esc": - close(m.choice) // If we're quitting just chose the channel. + close(m.choice) // If we're quitting just close the channel. return m, tea.Quit case "enter":