Correct help in spinners demo (see #38)

This commit is contained in:
Christian Rocha 2020-12-07 17:38:20 -05:00
parent 8e01f5f58a
commit 01cb02ddd1
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 1 additions and 1 deletions

View File

@ -94,6 +94,6 @@ func (m model) View() (s string) {
gap = " " gap = " "
} }
s += fmt.Sprintf("\n %s%s%s\n\n", m.spinner.View(), gap, textStyle("Spinning...")) s += fmt.Sprintf("\n %s%s%s\n\n", m.spinner.View(), gap, textStyle("Spinning..."))
s += helpStyle("j/k, ←/→: change spinner • q: exit\n") s += helpStyle("h/l, ←/→: change spinner • q: exit\n")
return return
} }