Adjust comments

This commit is contained in:
Christian Rocha
2020-06-17 19:43:06 -04:00
parent 4dc6992767
commit a6deb077c5

6
tea.go
View File

@@ -59,8 +59,8 @@ type quitMsg struct{}
// can send a batchMsg with Batch.
type batchMsg []Cmd
// WindowSizeMsg is used to report on the terminal size. It's fired once initially
// and then on every terminal resize.
// WindowSizeMsg is used to report on the terminal size. It's fired once
// initially and then on every terminal resize.
type WindowSizeMsg struct {
Width int
Height int
@@ -171,7 +171,7 @@ func (p *Program) Start() error {
continue
}
// Process any internal messages for the renderer
// Process internal messages for the renderer
mrRenderer.handleMessages(msg)
model, cmd = p.update(msg, model) // run update