diff --git a/examples/glamour/main.go b/examples/glamour/main.go index 9385604..83d385c 100644 --- a/examples/glamour/main.go +++ b/examples/glamour/main.go @@ -109,7 +109,7 @@ func (e example) helpView() string { func main() { model, err := newExample() if err != nil { - fmt.Println("Could not intialize Bubble Tea model:", err) + fmt.Println("Could not initialize Bubble Tea model:", err) os.Exit(1) } diff --git a/examples/realtime/main.go b/examples/realtime/main.go index db80880..3ab780e 100644 --- a/examples/realtime/main.go +++ b/examples/realtime/main.go @@ -20,7 +20,7 @@ type responseMsg struct{} // Simulate a process that sends events at an irregular interval in real time. // In this case, we'll send events on the channel at a random interval between // 100 to 1000 milliseconds. As a command, Bubble Tea will run this -// asyncronously. +// asynchronously. func listenForActivity(sub chan struct{}) tea.Cmd { return func() tea.Msg { for { diff --git a/examples/simple/main.go b/examples/simple/main.go index 38989d6..a52757b 100644 --- a/examples/simple/main.go +++ b/examples/simple/main.go @@ -41,7 +41,7 @@ func (m model) Init() tea.Cmd { // 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 command, which is a function that peforms I/O and returns a message. +// a command, which is a function that performs I/O and returns a message. func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg.(type) { case tea.KeyMsg: