forked from Mirrors/bubbletea
[codespell]: Fix typos.
This commit is contained in:
parent
741f2d37f0
commit
2d10416631
|
@ -40,7 +40,7 @@ func Sequence(cmds ...Cmd) Cmd {
|
|||
}
|
||||
}
|
||||
|
||||
// sequenceMsg is used interally to run the given commands in order.
|
||||
// sequenceMsg is used internally to run the given commands in order.
|
||||
type sequenceMsg []Cmd
|
||||
|
||||
// Every is a command that ticks in sync with the system clock. So, if you
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
// An example illustrating how to pipe in data to a Bubble Tea application.
|
||||
// Moreso, this serves as proof that Bubble Tea will automatically listen for
|
||||
// More so, this serves as proof that Bubble Tea will automatically listen for
|
||||
// keystrokes when input is not a TTY, such as when data is piped or redirected
|
||||
// in.
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
|
||||
case tea.KeyMsg:
|
||||
// Ctrl+c exits. Even with short running programs it's good to have
|
||||
// a quit key, just incase your logic is off. Users will be very
|
||||
// a quit key, just in case your logic is off. Users will be very
|
||||
// annoyed if they can't exit.
|
||||
if msg.Type == tea.KeyCtrlC {
|
||||
return m, tea.Quit
|
||||
|
|
Loading…
Reference in New Issue