Skip to content
Myr

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

7 files+7 added−7 removed

modified:examples/debounce/main.go+1 added-1 removed
5 unmodified lines
6// 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.1213import (14 "fmt"
52 unmodified lines
modified:examples/pager/artichoke.md+1 added-1 removed
modified:examples/pipe/main.go+1 added-1 removed
1package main23// 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 lines
modified:commands.go+1 added-1 removed
38 unmodified lines
39 return sequenceMsg(cmds)40 }41}4243// sequenceMsg is used interally to run the the given commands in order.43// sequenceMsg is used interally to run the given commands in order.44type sequenceMsg []Cmd4546// 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 you
125 unmodified lines
modified:exec.go+1 added-1 removed
11 unmodified lines
12 fn ExecCallback13}1415// 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 lines
modified:screen.go+1 added-1 removed
88 unmodified lines
89func DisableMouse() Msg {90 return disableMouseMsg{}91}9293// 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.95type disableMouseMsg struct{}9697// HideCursor is a special command for manually instructing Bubble Tea to hide
72 unmodified lines
modified:tea.go+1 added-1 removed
495 unmodified lines
496// 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.502func (p *Program) Send(msg Msg) {503 p.msgs <- msg504}
119 unmodified lines