Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) AppendModel ¶
func (Frame) Footer ¶
func (f Frame) Footer() io.ReadWriter
func (*Frame) ShowFooter ¶
func (*Frame) TruncateFooter ¶
type ImprintableElement ¶
type ImprintableElement interface {
ShouldImprint() bool
}
ImprintableElement is a special case of a TerminalElement, where the element is removed from the model state after a printing the model state as a trail behind the current model and removing the element on the next update
type TerminalElement ¶
type TerminalElement interface {
IsAlive() bool
}
TerminalElement allows UI elements to have a lifecycle, where at the end of the lifecycle the element is removed from the model state entirely
type VisibleElement ¶
type VisibleElement interface {
IsHidden() bool
}
VisibleElement allows UI elements to be conditionally hidden, but still present in the model state
Click to show internal directories.
Click to hide internal directories.