From da9e8ee75a555c67103e115b227489bf51452caf Mon Sep 17 00:00:00 2001 From: irevenko Date: Wed, 26 May 2021 23:11:54 +0300 Subject: [PATCH] Fix typo in examples/result --- examples/result/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":