mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-14 00:38:37 -07:00
Fix typo
This commit is contained in:
2
tea.go
2
tea.go
@@ -49,7 +49,7 @@ func Batch(cmds ...Cmd) Cmd {
|
||||
type Init func() (Model, Cmd)
|
||||
|
||||
// Update is called when a message is received. Use it to inspect messages and,
|
||||
// in repsonse, update the model and/or send a command.
|
||||
// in response, update the model and/or send a command.
|
||||
type Update func(Msg, Model) (Model, Cmd)
|
||||
|
||||
// View renders the program's UI, which is just a string. The view is rendered
|
||||
|
||||
Reference in New Issue
Block a user