Fix typo in examples/result

This commit is contained in:
irevenko 2021-05-26 23:11:54 +03:00 committed by Christian Rocha
parent 6eabfd726e
commit da9e8ee75a
1 changed files with 1 additions and 1 deletions

View File

@ -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":