Documentation ¶
Index ¶
Constants ¶
View Source
const ( HorizontalLine LineType = iota VerticalLine LineTerminationNormal LineTermination = iota LineTerminationHighlight LineTerminationNone )
Variables ¶
View Source
var ( VerticalDivider *tui.Label HorizontalDivider *tui.Label )
Functions ¶
This section is empty.
Types ¶
type ErrorMsg ¶
func NewErrorMsg ¶
type LineTermination ¶
type LineTermination int
func (LineTermination) Rune ¶
func (p LineTermination) Rune(defaultRune rune) rune
type OutputWidget ¶
type OutputWidget struct { *tui.Box // contains filtered or unexported fields }
func NewOutputWidget ¶
func NewOutputWidget(title string, ui tui.UI) *OutputWidget
func (*OutputWidget) Scroll ¶
func (w *OutputWidget) Scroll(dx, dy int)
func (*OutputWidget) SetBuildStatus ¶
func (w *OutputWidget) SetBuildStatus(s builder.BuildState)
func (*OutputWidget) SetText ¶
func (w *OutputWidget) SetText(s string)
type TailBox ¶
type TailBox struct { tui.WidgetBase // contains filtered or unexported fields }
TailBox is a container Widget that may not show all its Widgets. While tui.Box attempts to show every contained Widget - sometimes shrinking those Widgets to do so- TailBox prioritizes completely displaying its last Widget, then the next-to-last widget, etc. It is vertically-aligned, i.e. all the contained Widgets have the same width.
func NewTailBox ¶
func NewTailBox(w ...tui.Widget) *TailBox
NewTailBox returns a new TailBox widget.
func (*TailBox) SetContents ¶
func (t *TailBox) SetContents(w ...tui.Widget)
SetContents sets the component widgets of the TailBox.
Click to show internal directories.
Click to hide internal directories.