Skip to content
Myr

Add missing GoDocs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Rocha · committed by Christian Rocha · parent 749e48d · Browse files · 2 files+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:key.go+1 added-1 removed
97 unmodified lines
98 }99 return ""100}101102// Control keys. I know we could do this with an iota, but the values are very102// Control keys. We could do this with an iota, but the values are very103// specific, so we set the values explicitly to avoid any confusion.104//105// See also:106// https://en.wikipedia.org/wiki/C0_and_C1_control_codes
261 unmodified lines
modified:mouse.go+4 added
1package tea23import "errors"45// MouseMsg contains information about a mouse event and are sent to a programs6// update function when mouse activity occurs. Note that the mouse must first7// be enabled via in order the mouse events to be received.8type MouseMsg MouseEvent910// MouseEvent represents a mouse event, which could be a click, a scroll wheel11// movement, a cursor movement, or a combination.
19 unmodified lines
3132// MouseEventType indicates the type of mouse event occurring.33type MouseEventType int3435// Mouse event types.36const (37 MouseUnknown MouseEventType = iota38 MouseLeft39 MouseRight
93 unmodified lines