Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Screen ¶
type Screen interface { State() *tty.State Subscribe(context.Context) *Updater Resizable Send(message events.Msg) }
A Screen is the "end" of a chain of IO, or the result that the user sees.
type Stream ¶
type Stream interface { io.ReadWriter Resizable }
A Stream accepts input (Write) and resize events and produces output (Read).
type UpdatePublisher ¶
func NewPublisher ¶
func NewPublisher() *UpdatePublisher
func (*UpdatePublisher) Notify ¶ added in v0.1.6
func (u *UpdatePublisher) Notify()
Click to show internal directories.
Click to hide internal directories.