mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix various typos in examples
This commit is contained in:
@@ -38,9 +38,9 @@ func (m model) Init() tea.Cmd {
|
||||
return tick
|
||||
}
|
||||
|
||||
// Update is called when messages are recived. The idea is that you inspect the
|
||||
// Update is called when messages are received. The idea is that you inspect the
|
||||
// message and send back an updated model accordingly. You can also return
|
||||
// a commmand, which is a function that peforms I/O and returns a message.
|
||||
// a command, which is a function that peforms I/O and returns a message.
|
||||
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
switch msg.(type) {
|
||||
case tea.KeyMsg:
|
||||
|
||||
Reference in New Issue
Block a user