docs: fix spelling / various typos (#526)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Josh Soref · committed by GitHub · parent 8703897 · Browse files · 7 files·+7 added−7 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+7 added−7 removed
- other:+7 added−7 removed
Provenance
- Commit
4aa9ce4- Tree
ca67f44- Author
Josh Soref <2119212+jsoref@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent
8703897
7 files changed+7 added−7 removed
modified:examples/debounce/main.go+1 added-1 removed
5 unmodified lines6 // after a short delay, we include that tag value in the message produced7 // by the Tick command.8 //9 // In a subsequent Update, if the tag in the Msg matches current tag on the10-// model's state we know that the debouncing is complete and we can proceeed as10+// model's state we know that the debouncing is complete and we can proceed as11 // normal. If not, we simply ignore the inbound message.12 13 import (14 "fmt"52 unmodified linesmodified:examples/pager/artichoke.md+1 added-1 removed
5 unmodified lines678910101112131454 unmodified lines5 unmodified lines## Let’s talk about artichokes
The _artichoke_ is mentioned as a garden plant in the 8th century BC by Homer**and** Hesiod. The naturally occurring variant of the artichoke, the cardoon,which is native the the Mediterranean area, also has records of use as a foodwhich is native to the Mediterranean area, also has records of use as a foodamong the ancient Greeks and Romans. Pliny the Elder mentioned growing of_carduus_ in Carthage and Cordoba.
> He holds him with a skinny hand,54 unmodified linesmodified:examples/pipe/main.go+1 added-1 removed
1 package main2 3-// An example illustating how to pipe in data to a Bubble Tea application.3+// An example illustrating how to pipe in data to a Bubble Tea application.4 // Moreso, this serves as proof that Bubble Tea will automatically listen for5 // keystrokes when input is not a TTY, such as when data is piped or redirected6 // in.7 86 unmodified linesmodified:commands.go+1 added-1 removed
38 unmodified lines39 return sequenceMsg(cmds)40 }41 }42 43-// sequenceMsg is used interally to run the the given commands in order.43+// sequenceMsg is used interally to run the given commands in order.44 type sequenceMsg []Cmd45 46 // Every is a command that ticks in sync with the system clock. So, if you47 // wanted to tick with the system clock every second, minute or hour you125 unmodified linesmodified:exec.go+1 added-1 removed
11 unmodified lines12 fn ExecCallback13 }14 15 // Exec is used to perform arbitrary I/O in a blocking fashion, effectively16-// pausing the Program while execution is runnning and resuming it when16+// pausing the Program while execution is running and resuming it when17 // execution has completed.18 //19 // Most of the time you'll want to use ExecProcess, which runs an exec.Cmd.20 //109 unmodified linesmodified:screen.go+1 added-1 removed
88 unmodified lines89 func DisableMouse() Msg {90 return disableMouseMsg{}91 }92 93-// disableMouseMsg is an internal message that that signals to stop listening93+// disableMouseMsg is an internal message that signals to stop listening94 // for mouse events. To send a disableMouseMsg, use the DisableMouse command.95 type disableMouseMsg struct{}96 97 // HideCursor is a special command for manually instructing Bubble Tea to hide72 unmodified linesmodified:tea.go+1 added-1 removed
495 unmodified lines496 // Send sends a message to the main update function, effectively allowing497 // messages to be injected from outside the program for interoperability498 // purposes.499 //500-// If the program is not running this this will be a no-op, so it's safe to500+// If the program is not running this will be a no-op, so it's safe to501 // send messages if the program is unstarted, or has exited.502 func (p *Program) Send(msg Msg) {503 p.msgs <- msg504 }119 unmodified lines