Skip to content
Myr

Fix typo in examples/result

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by irevenko · committed by Christian Rocha · parent 6eabfd7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:examples/result/main.go+1 added-1 removed
27 unmodified lines
28 switch msg := msg.(type) {29 case tea.KeyMsg:30 switch msg.String() {31 case "ctrl+c", "q", "esc":32 close(m.choice) // If we're quitting just chose the channel.32 close(m.choice) // If we're quitting just close the channel.33 return m, tea.Quit3435 case "enter":36 // Send the choice on the channel and exit.
57 unmodified lines