forked from Mirrors/bubbletea
Fix typo in examples/result
This commit is contained in:
parent
6eabfd726e
commit
da9e8ee75a
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue