mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
docs: fix typos and clean up comments
This commit is contained in:
committed by
Christian Rocha
parent
76c3c1a221
commit
4880cf2a09
@@ -56,7 +56,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Views return a string based on data in the model. That string which will be
|
||||
// View returns a string based on data in the model. That string which will be
|
||||
// rendered to the terminal.
|
||||
func (m model) View() string {
|
||||
return fmt.Sprintf("Hi. This program will exit in %d seconds. To quit sooner press any key.\n", m)
|
||||
|
||||
Reference in New Issue
Block a user