forked from Mirrors/bubbletea
Improve a comment in the command tutorial
This commit is contained in:
parent
8515087899
commit
5d94164456
|
@ -112,9 +112,9 @@ func update(msg tea.Msg, mdl tea.Model) (tea.Model, tea.Cmd) {
|
||||||
|
|
||||||
case statusMsg:
|
case statusMsg:
|
||||||
// The server returned a status message. Save it to our model. Also
|
// The server returned a status message. Save it to our model. Also
|
||||||
// tell the Bubble Tea runtime we ant to exit because we have
|
// tell the Bubble Tea runtime we ant to exit because we have nothing
|
||||||
// nothing else to do. Don't worry, we'll still be able to render
|
// else to do. We'll still be able to render a final view with our
|
||||||
// a final view with our status message.
|
// status message.
|
||||||
m.status = int(msg)
|
m.status = int(msg)
|
||||||
return m, tea.Quit
|
return m, tea.Quit
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue